I am running ubuntu and I do not have .bash_profile.
So my question is: where exactly is my python path installed?
As I can see what the current python path is by doing:
$PYTHON_PATH
returns nothing?
It is installed by the site module and the executable file of the interpreter itself. sys.path contains the current value.
site
sys.path
You can see your python path in python as follows:
>> import sys >> print sys.path
you can create .bash_profile with your favorite editor and paste into it:
export PYTHONPATH=$HOME/lib/python
or something like that.
echo $PYTHONPATH / etc / profile and / etc / bashrc are the bash global configuration files before searching in your home directory at startup. It is also safe to create .bash_profile if it does not exist.
echo $PYTHONPATH
Usually PYTHONPATH is empty.
Source: https://habr.com/ru/post/885544/More articles:OpenCV :: ML - can we tell openCV which parts of the data we want to send to which neuron? - c ++Cut text without destroying html tags - stringAccepts a nested attribute with a virtual attribute - ruby-on-railsCSS offset properties and static position - cssIs your statement mocking you? - phpunithttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/885545/looking-for-working-complete-project-example-for-oauth-20-access-to-gmail&usg=ALkJrhjh530yePcairhhw4-9BDjEdmsLUAOAuth with Google Data API for .NET returning HTTP 400: Bad Request - c #looking for an example Gmail SMTP Oauth - androidEvent Organization Event Event - javascriptWhy should I use @properties? - iosAll Articles