Pipenv: Command Not Found

后端 未结 6 455
Happy的楠姐
Happy的楠姐 2020-12-22 16:12

I\'m new to Python development and attempting to use pipenv. I ran the command pip install pipenv, which ran successfully:

...
Successfully buil         


        
6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 16:45

    If you've done a user installation, you'll need to add the right folder to your PATH variable.

    PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
    PATH="$PATH:$PYTHON_BIN_PATH"
    

    See pipenv's installation instructions

提交回复
热议问题