0

Whenever I try to install a pip package, it shows me an error: ModuleNotFoundError: No module named 'pip._vendor.rich.jupyter'.

I tried to install django by typing pip install django but it says No module named 'pip._vendor.rich.jupyter'. This issue has been occurring since I reinstalled python.

theherk
  • 6,954
  • 3
  • 27
  • 52

3 Answers3

0

There might be several ways how to solve this issue, you can try them:

  1. upgrade pip via pip install --upgrade pip
  2. reinstall pip completely - read answer in this post, where it describes in details
  3. download get-pip to the folder where you installed python: read answer here

Hope, these hints will help you!

dzhu_man_dzhi
  • 82
  • 1
  • 1
  • 6
0

Seems like a duplication of pip3 install not working - No module named 'pip._vendor.pkg_resources', please try to reinstall pip and try again.

Kyle Wang
  • 41
  • 4
0

What OS are you using? If you are using Ubuntu or Linux, this thread might be worth a try: pip3 install not working - No module named 'pip._vendor.pkg_resources'.

Have you tried pip3? If yes, you could try running it using python as a prefix, eg.

python -m pip install

You should also look into your PYTHON_PATH and where it points, since you have reinstalled it.

Jonathan
  • 46
  • 3