4 ms·
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 u
by nexuist 7y ago
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.
- rootusrootus 7y agoJust source the activate script and it'll prepend the correct path so that you don't need to do anything else.
- odonnellryan 7y agoYou have to use something like anaconda. It's basically the same as npm_modules (sorta).
- lapnitnelav 7y agoUse virtualenvwrapper. $ mkproject foobar $ workon foobar You're set