No module named 'numpy'?

Sc
6

Hello I'm currently programming with Python in Jupyter Notebooks 6.2.0 at the university, but strangely I get the following message when I want to import the Jupyter library: 'No module named' numpy '' '.

Em

Well it looks like you haven't installed numpy

Em

>> pip install numpy

run in your console.

Le

Since you write that you use Jupyter Notebook, I also assume that you have installed the Anaconda platform on your computer.

In this case, the installation should be carried out via conda.

https://anaconda.org/anaconda/numpy

Sc

That it's so easy, thank you.

Em

You can still use pip, and you can get the Jupyter Notebook without an anaconda.

Le

Yes, you can also use pip. When using the Anaconda platform, however, the Python packages are stored elsewhere by default.

I have now decided to cover the anaconda case with my answer.