[MacPorts] #64662: matplotlib: fail to import due to a circular import
MacPorts
noreply at macports.org
Mon Feb 14 03:17:54 UTC 2022
#64662: matplotlib: fail to import due to a circular import
----------------------------+------------------------
Reporter: mmaclow | Owner: reneeotten
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: monterey
Port: py-matplotlib |
----------------------------+------------------------
Comment (by reneeotten):
I suspect you've used {{{python_select}}} to have it start {{{python310}}}
when typing {{{python}}} - correct? Also did you make sure to only install
Python packages trough MacPorts, in other words no mixing of stuff with
{{{pip}}} and such?
I don't see how any of this can happen. I am pretty sure your problem is
related to the fact that Python 3.10 imports packages that were installed
for Python 3.9. Nothing in MacPorts will do that for you and it works fine
for me, so I bet it is something specific to your system.... Inspect your
environment variables for example and make sure you haven't set
{{{PYTHONPATH}}} and such.
--
Ticket URL: <https://trac.macports.org/ticket/64662#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list