1

python 3.8.12 installed by pyevn seems working as expected, but numpy installed using pip cannot be imported.

pip --list ran in Jupiter notebook shows the package has been installed already.

enter image description here

anb
  • 265
  • 1
  • 8
  • Does this answer your question? [Jupyter python3 notebook cannot recognize pandas](https://stackoverflow.com/questions/40553560/jupyter-python3-notebook-cannot-recognize-pandas) – Arnav Mangla Dec 07 '21 at 03:32
  • Nope. But `sys.executable()` does print a different path `/usr/local/opt/python@3.9/bin/python3.9` – anb Dec 07 '21 at 10:50

1 Answers1

0

So as per the path you stated in your comment (reply), execute this command:

/usr/local/opt/python@3.9/bin/python3.9 -m pip install pandas
Arnav Mangla
  • 82
  • 1
  • 7