News for hackers. Stuff that matters.
Re:Python Is Eating the World by nexuist on Sunday August 11, 2019 @11:29PM (#20672172)
Herein lies my problem. If I want to start a Node project I run `npm init` and then `npm install --save` to my heart's content. If I somehow manage to mess it up I just delete node_modules/ and install again.

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.

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