Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Commonmark migration
Source Link

First of all, PYTHONPATH helps Python to find required modules while importing. In your case it does not matter because you are trying to run the script, it is not an import seems like you are executing python django-admin.py in wrong directory. Also you have to run virtualenv's python binary instead of regular one (just need to activate virtualenv)

[virtual env HOW TO][1] [1]: http://www.pythonforbeginners.com/basics/python-virtualenv-usagevirtual env HOW TO

First of all, PYTHONPATH helps Python to find required modules while importing. In your case it does not matter because you are trying to run the script, it is not an import seems like you are executing python django-admin.py in wrong directory. Also you have to run virtualenv's python binary instead of regular one (just need to activate virtualenv)

[virtual env HOW TO][1] [1]: http://www.pythonforbeginners.com/basics/python-virtualenv-usage

First of all, PYTHONPATH helps Python to find required modules while importing. In your case it does not matter because you are trying to run the script, it is not an import seems like you are executing python django-admin.py in wrong directory. Also you have to run virtualenv's python binary instead of regular one (just need to activate virtualenv)

virtual env HOW TO

Source Link

First of all, PYTHONPATH helps Python to find required modules while importing. In your case it does not matter because you are trying to run the script, it is not an import seems like you are executing python django-admin.py in wrong directory. Also you have to run virtualenv's python binary instead of regular one (just need to activate virtualenv)

[virtual env HOW TO][1] [1]: http://www.pythonforbeginners.com/basics/python-virtualenv-usage

lang-py

AltStyle によって変換されたページ (->オリジナル) /