I want to make a project and virtualenv in /users/me/my-project
In the past, when I've done this I:
cd
into the project folder, here my-project
pipenv shell
to create do the setup and start interactive sessionpipenv install
to install the packages I want.In the past, this has worked fine - the pipfile exists in the project director and virtualenv is mapped correctly. For some reason, now it is making the Pipfile in the parent directory, /users/me/
. I've also tried doing pipenv in a sub directory in my project, and it still creates it in the home directory as before.
What did I do wrong?
I had the same problem, and I found it was because that I had run the command:
pipenv shell
under my home dir some day before.
You can solve it like this:
cd
to your home dirPipfile
Pipfile.lock
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With