centos - how to avoid Permission denied while installing package for Python without sudo -
i trying install tesseract wrapper python user mike can import tesseract. i'm following guide here https://code.google.com/p/python-tesseract/wiki/howtocompilepythontesseractforcentos
however, when execute python setup.py install
i error below:
[errno 13] permission denied: '/usr/local/lib/python2.7/site-packages/test-easy-install-7351.write-test' installation directory specified (via --install-dir, --prefix, or distutils default setting) was: /usr/local/lib/python2.7/site-packages/ i have sudo access here problem: when login root default python version 2.6, however, when login mike default python version 2.7 (this 1 want). if sudo python setup.py install installation tesseract taking place on 2.6 rather on 2.7.
what can in scenario? should change permissions on site-packages folder? i'm bit out of options...
try python setup.py install --user
Comments
Post a Comment