jeudi 12 mars 2015

How do I install Matplotlib as a Macintosh Yosemite User


Vote count:

0




I am a Macintosh Yosemite user and when I try to import matplotlib I get the following error.



import matplotlib


Traceback (most recent call last): File "", line 1, in import matplotlib File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/init.py", line 180, in from matplotlib.cbook import is_string_like File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/cbook.py", line 33, in import numpy as np File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/init.py", line 170, in from . import add_newdocs File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/init.py", line 8, in from .type_check import * File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/core/init.py", line 6, in from . import multiarray ImportError: cannot import name 'multiarray'




When I use import pylab import axis that would work just fine. I do not know what is going on and I am just so lost. I have tried using homebrew, macports installs, dmg installs. I also have very little experience installing things through terminal so I just followed what other people said. Though, that is still not working. Please help!



asked 54 secs ago







How do I install Matplotlib as a Macintosh Yosemite User

Aucun commentaire:

Enregistrer un commentaire