Skip to content
Advertisement

Can’t import Numpy in Python

I’m trying to write some code that uses Numpy. However, I can’t import it:

JavaScript

I tried the suggestions in this question:

JavaScript

and I searched for files named numpy in that path:

JavaScript

But nothing came up.

So…

  • Are there any other places in which Python modules are commonly installed?
  • How can I install numpy locally in my account, if it turns out that it isn’t installed in the central areas?

Advertisement

Answer

Have you installed it?

On debian/ubuntu:

JavaScript

On windows:

http://sourceforge.net/projects/numpy/files/NumPy/

On other systems:

http://sourceforge.net/projects/numpy/files/NumPy/

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement