What file will i edit, and just how? I produced an online atmosphere.
It's already clarified here -> Is my virtual atmosphere (python) leading to my PYTHONPATH to interrupt?
Add "export PYTHONPATH=/usr/local/lib/python2." this to ~/.bashrc file and source it by typing "source ~/.bashrc" OR ". ~/.bashrc".
Home windows XP
1) Visit the User interface 2) Double click System 3) Visit the Advanced tab 4) Click Atmosphere Variables
Within the System Variables window, check for those who have a flexible named PYTHONPATH. For those who have one already, make sure that it points right sites. Without having one already, click on the New button and make it.
Alternatively, you may also do through your code:-
import sys sys.path.append("/home/me/mypy")
If you wish to alter the
PYTHONPATH utilized in a virtualenv, you can include the next line for your virtualenv's
By doing this, the brand new
PYTHONPATH is going to be set any time you make use of this virtualenv.
make sure that it points right sites. Without having one already, click on the New button and make it.