Answers for "add to pythonpath in python"

4

append to pythonpath

export PYTHONPATH="${PYTHONPATH}:/my/other/path"
Posted by: Guest on June-23-2021
4

add python to path

# On linux
$ which python; # Get Path of the executable
$ export PATH=$PATH:{PATH_PYTHON}; # but it isn't continue
# ----------------------
$ which python; # Get Path of the executable
export PATH=$PATH:{PATH_PYTHON}; # add in your ~/.bashrc or your ~/.zshrc
Posted by: Guest on October-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language