Skip to content

Commit

Permalink
Merge pull request #196 from tmbdev/update-virtualenv
Browse files Browse the repository at this point in the history
Update installation steps for virtualenv
  • Loading branch information
zuphilip authored Mar 23, 2017
2 parents 4efbddc + ae763b0 commit fc525cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ To install OCRopus dependencies system-wide:
$ mv en-default.pyrnn.gz models/
$ sudo python setup.py install

Alternatively, dependencies can be installed into a [Python Virtual Environment]
(http://docs.python-guide.org/en/latest/dev/virtualenvs/):
Alternatively, dependencies can be installed into a
[Python Virtual Environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/):

$ virtualenv ocropus_venv/
$ source ocropus_venv/bin/activate
$ pip install -r requirements.txt
$ wget -nd http://www.tmbdev.net/en-default.pyrnn.gz
$ mv en-default.pyrnn.gz models/
$ python setup.py install

An additional method using [Conda](http://conda.pydata.org/) is also possible:

Expand Down

0 comments on commit fc525cb

Please sign in to comment.