-
|
I am developing a small Python utility. I have a project directory, call it How can I change the name of this directory, say to be I see that pipenv creates magical stuff in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
When pipenv creates an venv for your project, it creates a hash of the path of your project as part of the name of the venv; that's the |
Beta Was this translation helpful? Give feedback.
When pipenv creates an venv for your project, it creates a hash of the path of your project as part of the name of the venv; that's the
1E7o8dGZin yourFoo-1E7o8dGZ. If you rename the folder, pipenv will lose the connection to the venv and end up making a new one. To make sure you don't have an extra venv lying around, you can runpipenv --rmbefore renaming your project and then simplypipenv installto recreate it.