Whenever I use sys.path.append
, the new directory will be added. However, once I close python, the list will revert to the previous (default?) values. How do I
I ran into Python Path problems when I switched to zsh from bash.
The solution was simple, but I failed to notice.
Pip was showing me, that the scripts blah blah
or package blah blah
is installed in ~/.local/bin
which is not in path.
After reading some solutions to this question, I opened my .zshrc
to find that the solution already existed.
I had to simply uncomment a line:
Take a look