Reputation: 3
others have asked this question but the answers are either too hard for me to understand or dont help. i tried using many variations of python3 and python, pip3 and pip, sudo etc. they all said the package was already present. pip list command shows that numpy v1.23.1 is installed. I tried uninstalling and reinstalling but that didn't work either. for context I'm tryna install numpy, python version:3.10.5
Upvotes: 0
Views: 3106
Reputation: 29337
It might be that your Python and your pip module do not belong to the same environment/installation.
To make sure you install a module under the Python installation you want to use, run this at a command prompt:
python -m pip install numpy
Upvotes: 2