DEV Community

Discussion on: Setting up a Django project like a pro

Collapse
fceruti profile image
fceruti Author

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.

Collapse
devanghingu profile image
Devang Hingu

ok got it. thanks you..

Collapse
devanghingu profile image
Devang Hingu

can i install both at time over machine?

Thread Thread
fceruti profile image
fceruti Author

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

Thread Thread
devanghingu profile image
Devang Hingu

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

Thread Thread
fceruti profile image
fceruti Author

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...