ImportError for NumPy / SciPy

I'm trying to run some code that requires NumPy and SciPy imports (I'm using Python 3.4), but I keep getting the following message (my OS is Windows):

import numpy as np # used for linear algebra

ImportError: No module named 'numpy'

      

I've already downloaded NumPy, but I don't know how to set it up correctly. Is there a way to fix this? I already had this error.

Update: I found a solution. Apparently I already downloaded both Anaconda (a Python distro) and Python, so I uninstalled both of them and installed Anaconda back, rebooted my computer and now everything works fine (NumPy and SciPy can be used).

+3


source to share





All Articles