Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install on windows... wtf is 'source'? #73

Closed
enjoysmath opened this issue Dec 29, 2015 · 5 comments
Closed

Unable to install on windows... wtf is 'source'? #73

enjoysmath opened this issue Dec 29, 2015 · 5 comments

Comments

@enjoysmath
Copy link

The virtualenv/ stuff seems to instlall, but wtf is 'source'? as in:

source ocropus_venv/bin/activate

Can't do it! Can't find it - try finding something called source on google. Can't be done. wtf, over....

@elgehelge
Copy link

'source' is used when activating a virtual environment. On windows i think you have to run a 'bat' file instead.

@dubielt1
Copy link

dubielt1 commented May 3, 2016

I was able to successfully install, with a little googling.

Just download Python, add it to your path, then use pip install for each requirement, in order. So requirements1.txt then requirements2.txt.

For Numpy and SciPy, use these wheel packages here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

So for those two, cd into the directory where you downloaded them, then type pip install numpy-1.10.4+mkl-cp27-cp27m-win32.whl for example. The benefit of those packages is this: "Numpy+MKL is linked to the Intel® Math Kernel Library and includes required DLLs in the numpy.core directory"

pip install numpy/scipy failed for me on windows, it has something to do with that Intel library

@zuphilip
Copy link
Collaborator

zuphilip commented Jun 5, 2016

Alternatively you can use the docker container: https://hub.docker.com/r/kbai/ocropy/ resp. https://github.com/kba/docker-ocropy

@zuphilip
Copy link
Collaborator

(FAQ links now here.)

@karelin
Copy link

karelin commented May 25, 2017

One more recommendation is to use Anaconda - the scientific Python distribution, which already contains all necessary libraries, though numpy/scipy will be without MKL (in free version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants