Pipenv

Hello, I am not understanding this lesson: https://www.codecademy.com/courses/learn-python-3/articles/learn-python-pipenv I installed the stuff I was supposed to install but I don’t understand where I am supposed to work with this or am I not supposed to do anything with this. The video makes no sense. can I use this in any text editor Visual Studio? I just need clarification.

It comes in handy when you’re working on a number of projects that might be in different versions of Python or require different versions of other modules so they are isolated and any packages or versions you install are only in the specific environment.

Maybe this is a better explanation:
https://youtu.be/VdKqxxjUGhQ

Or, perhaps this:

So basically the gist I am getting is that different keys for different locks and the point of the pipenv is to provide a wide array of locks for the keys in your different projects.

I suppose that’s a way to look at it. Or, one could say it’s a separate container to “hold” all the dependencies for each project that you’re working on. Maybe think of it like when you look at Finder and all your files are organized into folders.

1 Like