linux - Root user has different python -


i installed anaconda python, added more packages , tried run django development python manage.py runserver 0.0.0.0. it's running fine can't access remotely reason. server on other port working fine , firewalls set. found others had problem , run superuser sudo python manage.py runserver 0.0.0.0.

my problem when running superuser, use different python (or @ least that's looks like). same 2.7.12 version (but no anaconda suffix) , there no required packages, can't run server.

i'm not experienced linux. tried remove python root , passing env variables, didn't help. how can run python superuser , use python packages user.

try sudo running local python, like

sudo /home/youranaconda_bin/python manage.py runserver 0.0.0.0 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -