Skip to content

Instantly share code, notes, and snippets.

View n0Oo0Oo0b's full-sized avatar

Daniel Gu n0Oo0Oo0b

  • Dulwich College Shanghai Pudong
  • Shanghai
  • 23:56 (UTC +08:00)
View GitHub Profile
@n0Oo0Oo0b
n0Oo0Oo0b / pip-python-mismatch.md
Last active April 6, 2023 04:00
How to fix pip not installing packages even though it says 'requirement already satisfied'

Problem

Let's say you wanted to install a package (numpy for example) and you run the following command to install it:

$ pip install numpy

So pip does its thing, and exits with an output like so: