Pipenv-Error: ModuleNotFoundError: No module named 'pip._internal'

前端 未结 3 1494
[愿得一人]
[愿得一人] 2021-02-14 17:00

Today, I installed Pipenv via

pip install pipenv

As mentioned in the documentation I went to a test directory and created a new virtual environment

3条回答
  •  -上瘾入骨i
    2021-02-14 17:13

    Ubuntu 18.04, Python 3.6 :

    Reinstalling pipenv did not work for me. Reinstall pip3 was the only issue, but

    sudo apt install python3-pip
    

    did not work too. Found a link to get pip3 in AskUbuntu.com which worked fine :

    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    sudo python3 get-pip.py --force-reinstall
    

提交回复
热议问题