Skip to content
loading...

re: Setting up a Django project like a pro VIEW POST

TOP OF THREAD FULL DISCUSSION
re: hello. actually i newbie in django. therefore i have questions that what is difference in virtualenv and pipenv.?
 

They are not the same, but they are related. Think of your whole computer as an environment where you can install pieces software. Because we are developing different projects, with different dependencies, if we just installed all of them in your "computer environment", they would get mixed and that would be awful.

Here comes Virtual Environments to the rescue. This is the technique of creating a sandbox for each project, where you can install dependencies without affecting the rest of your projects. pipenv is a tool to manage such environments.

 
 

I'm not sure what you mean. Can you explain it again?

umm.. i mean, can i install virtualenv and pipenv both at time in my machine(on Debian based system).

Yes you can and you should. I think you need to review this subject with a little more depth. I suggest you read this article realpython.com/python-virtual-envi...

code of conduct - report abuse