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

MacPorts noreply at macports.org
Mon Feb 14 02:15:36 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 mmaclow):

 Yes, I am afraid that I tried installing the stub port after I got the
 initial failure looking for a way around it.  I have uninstalled it, with
 no result.

 I then went on and uninstalled py310-matplotlib.  Very curiously, I get
 exactly the same error message anyway!  I tried uninstalling
 py39-matplotlib, but nothing was there.

 After those uninstalls, I examined the contents of the 3.9 and 3.10 site-
 packages/matplotlib* directories, and found lots in each one, and very
 different items. I've attached a listing (again, after an uninstall).

 I wonder if some other package still has py39-matplotlib as a dependency
 and installed it, possibly incorrectly?  py310-jupyter is my suspicion, as
 it seemed to load the 3.9 version of jupyter as well.

 (Just to confirm, installing py310-matplotlib makes no difference to the
 error, although it does restore the many python modules that are still in
 py39-matplotlib.)

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


More information about the macports-tickets mailing list