think of a virtual environment as a contained box that includes any customized files and dependencies for a project. you delete the folder, you delete all your project files and python dependencies.
npm doesn't have nice dependency separation between projects to my knowledge. but then I don't actively use npm.
Same - just delete the node_modules folder inside your project and you get rid of all your dependencies. Dependency separation for different projects in npm? Just place a single package.json file and make sure your projects exist in separate folders. Projects may also be parent -> child to one another and their dependencies will still be separate.
2
u/ase1590 Dec 18 '18
not for
pip install.only for virtual environments.
think of a virtual environment as a contained box that includes any customized files and dependencies for a project. you delete the folder, you delete all your project files and python dependencies.
npm doesn't have nice dependency separation between projects to my knowledge. but then I don't actively use npm.