I installed Python 3.6 and matplotlib (along with numpy, scipy, etc) through MacPorts on my iMac G4 but importing matplotlib.pyplot crashes python:
Any idea why this happens?
Settings: iMac G4 1.25GHz, Mac OS X 10.5.8. Python 3.6.5. Matplotlib 2.1.1 installed through MacPorts with one dependency (qhull) installed with GCC 4.8 as 4.2 was blacklisted in MacPort's portfile.
Code:
192:~ Raul$ python3
Python 3.6.5 (default, Mar 29 2018, 15:41:19)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
machdep: class is not implemented
terminate called after throwing an instance of 'std::runtime_error'
what(): Couldn't close file
Abort trap
192:~ Raul$
Any idea why this happens?
Settings: iMac G4 1.25GHz, Mac OS X 10.5.8. Python 3.6.5. Matplotlib 2.1.1 installed through MacPorts with one dependency (qhull) installed with GCC 4.8 as 4.2 was blacklisted in MacPort's portfile.