I have used the instructions here (http://docs.webfaction.com/software/python.html#installing-packages-with-pip) to install with pip-2.7. I have a django app running just fine. However, I recently added a new user who tried to run manage.py shell and got the error "cannot import social_auth". We looked and I think social_auth is installed in my root under home/usr/lib/python2.7. Also, it does NOT appear to be in home/usr/webapps/django_app/lib/python2.7/. Moreover, if I do this (https://community.webfaction.com/questions/13605/using-pip-inside-the-webapp-dir), it shows that I have social_auth installed. So, I'm thinking its installed in my root, not in the webapp folder and my new user doesn't have access to my root so it doesn't import for him (but the website is working and the shell works for me)? I tried running pip again to install that package to the webapp directory but it says requirement already exists and references my home/usr/lib/python2.7. Anyone know why this would happen? Or why my webapp would pull packages from my root (if that's even what's going on?) asked 28 Jan '14, 18:08 rsp |
A separate SSH user would not (should not, unless you explicitly granted permission) have write permission on your It's more likely that your webapp is pulling packages from your account-wide python libraries in Hope that helps! answered 29 Jan '14, 02:29 ryans ♦♦ |