[MacPorts] #60175: cannot import name '_tkagg' from 'matplotlib.backends' in python 2.7 and python 3.8

MacPorts noreply at macports.org
Wed Mar 11 02:00:34 UTC 2020


#60175: cannot import name '_tkagg' from 'matplotlib.backends' in python 2.7 and
python 3.8
----------------------------+------------------------
  Reporter:  lpagani91      |      Owner:  reneeotten
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:  worksforme     |   Keywords:
      Port:  py-matplotlib  |
----------------------------+------------------------

Comment (by reneeotten):

 Replying to [comment:5 lpagani91]:
 > OK, I thought installing pyXY-tkinter was the thing to do.
 > How could I know that I have to install matplotlib +tkinter instead ??

 Installing {{{pyXY-tkinter}}} is indeed one of the things that need to
 happen, besides setting the activating the backend {{{tkagg=True}}} in
 {{{setup.cfg}}}. You can do {{{port variant pyXY-matplotlib}}}, which will
 give you a (short) description of all variants and their purpose. In this
 case that said "tkinter: Enable TkAgg backend", that would likely have
 given you sufficient information about which variant to install.

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


More information about the macports-tickets mailing list