I want to add a folder permanently to
sys.path but it doesn't work.
On my Debian Stretch, when I execute :
$ echo $PYTHONPATH
it looks empty
In the same time, when I print the content of
sys.path, there is 10 different paths which aren't the same than those contained into
$PATH (and obviously in
$PYTHONPATH). How can it be explained ?
(I had to create a virtualenv for a framework but I don't think I'm using it right now so it's probably not related but I'm not confortable with that concept so maybe I miss something)
Also I've tried to modify
.bashrc to add a path to
$PYTHONPATH so I've know the following line :
After rebooting, it works, I mean $PYTHONPATH contains it but nothing change for
$ env | grep ^PYTHON returns nothing.
sys.path is filled and how can I add permanently a folder to it ?