adding to python path
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
adding to python path
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
how to add path to python in windows
Simply add this path to your PYTHONPATH environment variable.
To do this, go to Control Panel / System / Advanced / Environment variable,
and in the "User variables" sections, check if you already have PYTHONPATH.
If yes, select it and click "Edit", if not, click "New" to add it.
Paths in PYTHONPATH should be separated with ";".
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us