I want to use some packages (i.e., IPython or zdaemon), butI am doing this on a system (my university) that does not give me permissions for /usr/local, /usr/bin, or all these directories. Is there a way around it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, you can use a configuration file that specifies an alternate installation directory, or use the
--install-diroption. The standard place to put Python packages in your own user account is, I think, in$HOME/.local/(if you’re using Python 2.6). So for instance, pure-Python packages will wind up in$HOME/.local/lib/python2.6/site-packages/.If your version of setuptools is recent enough to support it, also have a look at the
--prefixoption.