[MacPorts] #53346: py27-matplotlib for matplotlib 2.0.0 cannot import pyplot
MacPorts
noreply at macports.org
Wed Jan 18 14:31:30 UTC 2017
#53346: py27-matplotlib for matplotlib 2.0.0 cannot import pyplot
----------------------------+------------------------
Reporter: jolivetr | Owner: seanfarley
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-matplotlib |
----------------------------+------------------------
Comment (by jolivetr):
I still have the issue. I just did selfupdate and upgrade outdated:
gorilla 15:29:22 ~ > sudo port selfupdate[[BR]]
---> Updating MacPorts base sources using rsync[[BR]]
MacPorts base version 2.3.5 installed,[[BR]]
MacPorts base version 2.3.5 downloaded.[[BR]]
---> Updating the ports tree[[BR]]
sudo port upgrade outdated[[BR]]
---> MacPorts base is already the latest version[[BR]]
The ports tree has been updated. To upgrade your installed ports, you
should run[[BR]]
port upgrade outdated[[BR]]
gorilla 15:29:39 ~ > sudo port upgrade outdated[[BR]]
Nothing to upgrade.[[BR]]
Then, my problem is:
gorilla 15:29:40 ~ > python
Python 2.7.13 (default, Dec 18 2016, 05:35:35)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import matplotlib.pyplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/matplotlib/colorbar.py", line 36, in <module>
import matplotlib.contour as contour
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/matplotlib/contour.py", line 22, in <module>
import matplotlib.font_manager as font_manager
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/matplotlib/font_manager.py", line 67, in <module>
from functools32 import lru_cache
ImportError: No module named functools32
--
Ticket URL: <https://trac.macports.org/ticket/53346#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list