[MacPorts] #64662: matplotlib: fail to import due to a circular import

MacPorts noreply at macports.org
Mon Feb 14 05:42:05 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 jmroot):

 Replying to [comment:8 mmaclow]:
 > My `PYTHONPATH` is indeed set. Is that now deprecated? It is the
 problem, in fact.  That is, when I took the 3.9 site packages directory
 out of it, the problem went away, and matplotlib now works normally.

 It's not deprecated, but as you have discovered, it can easily cause
 undesired behaviour if you set it incorrectly (much like PATH).

-- 
Ticket URL: <https://trac.macports.org/ticket/64662#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list