You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug in pipenv caused by using it alongside the newest version of pip (18.1): pypa/pipenv#2924. You need to downgrade pip — both inside and outside the pipenv environment — to version 18.0 in order for pipenv to work.
ONLY EXECUTE FOLLOWING COMMANDS AT THE CREATION OF YOUR PROJECT
pyenv + pipenv quick tutorial
Prerequisites
pyenv
and some python version (I use 3.6.6)NOTE: Do all the following commands in your own project directory.
STEP ONE
Set the shell-specific Python version:
STEP TWO
Why downgrade pip to 18.0 ?
jwodder's answer:
STEP THREE
Install packages and use the installed packages
Now that package is installed, you can use it in your python script. And then you can run your python script using
pipenv run
:Using
$ pipenv run
ensures that your installed packages are available to your script.It’s also possible to spawn a new shell that ensures all commands have access to your installed packages with
$ pipenv shell
.More
References
The text was updated successfully, but these errors were encountered: