Error while loading a file in Python-Set Up path Problem -
following error occurred while trying add or remove files in installation directory: [errno 13] permission denied: '/usr/local/lib/python2.6/dist-packages/test-easy-install-20294.pth' installation directory specified (via --install-dir, --prefix, or distutils default setting) was: /usr/local/lib/python2.6/dist-packages/ perhaps account not have write access directory? if installation directory system-owned directory, may need sign in administrator or "root" account. if not have administrative access machine, may wish choose different installation directory, preferably 1 listed in pythonpath environment variable. information on other options, may wish consult documentation at: http://peak.telecommunity.com/easyinstall.html please make appropriate changes system , try again.
how change directory? or how make change accepts changes in root directory?
the easiest way run command administrator privileges. looks you're using form of linux. in ubuntu or similar, use:
sudo easy_install <package>
otherwise, can use option:
easy_install -d /home/<username>/wherever <package>
then you'll need make sure directory makes pythonpath.
Comments
Post a Comment