How solve import error in Python when trying to import Numpy -
this error when trying import numpy on opening python (2.7.8):
traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named numpy
this path of python binary /usr/local/bin/python
this path of pip /usr/local/bin/pip
also, when put in pip freeze
found numpy package numpy==1.8.0rc1
i have looked @ other relevant questions, i'm not able diagnose cause. i'm guessing might problem in paths. start?
as akshat pointed out in comments above, had multiple versions of python installed. have been effect of using homebrew and/or macports in past. followed steps detailed in too many pythons on mac os x mountain lion , did fresh install of python 2.7.12 able reinstall pip , packages subsequently.
Comments
Post a Comment