3 ms·
npm installs to a local node_modules file by default, whereas you have to set up a virtualenv or something similar to get that from pip
by zodiac 9y ago
npm installs to a local node_modules file by default, whereas you have to set up a virtualenv or something similar to get that from pip
- masklinn 9y agoMy understanding is that's what pipenv gives you. You call pipenv install, it creates a venv if necessary and fills it. If you want to run tools within the env, you call pipenv run {command}.
- zodiac 9y agoYes, you're absolutely right, I was comparing npm specifically to pip (without any additional tools like pipenv).