Re:Python Is Eating the World
by rootusrootus on Sunday August 11, 2019 @11:37PM
(#20672213)
Just source the activate script and it'll prepend the correct path so that you don't need to do anything else.
Re:Python Is Eating the World
by odonnellryan on Monday August 12, 2019 @05:32AM
(#20673840)
You have to use something like anaconda. It's basically the same as npm_modules (sorta).
Re:Python Is Eating the World
by lapnitnelav on Monday August 12, 2019 @09:50AM
(#20675358)
Use virtualenvwrapper.
$ mkproject foobar
$ workon foobar
You're set
If I want to start a Python project I have to set up venv and remember to put relative paths in front of every command or else it'll run the system version. Sounds simple, but it's still something to always remember.