Skip to content Skip to sidebar Skip to footer

Unable To Import Numpy

I'm on OS X Mavericks and new to Python. I have the Apple python environment and installed the official one from python.org. When I try to import numpy from the python interpreter

Solution 1:

I had a similar problem with numpy and other libraries common to scientific packages like matplotlib. You might try installing a Python distribution package like Anaconda, which includes several other useful libraries similar to numpy. Install link here: https://store.continuum.io/cshop/anaconda/. Best of luck.

Solution 2:

I suggest not deleting the 'numpy' in python2.7 because it is a built-in module of python2.7 by macOS. Try:python3 -m pip install numpy

Post a Comment for "Unable To Import Numpy"