When I install a python package with prefix
python setup.py install --prefix=$HOME/opt
In ~/.bashrc
, I modify the PATH
environment var.
export PATH=$HOME/opt:$PATH
Are there any other environment variables that I need to modify?
You may need to modify PYTHONPATH.