You are not logged in.
Pages: 1
After the latest update (version 1.2.0-2) i can no longer embed in tk -
ImportError: cannot import name _tkagg
Last edited by freevryheid (2012-11-14 16:30:11)
Offline
I get an "error file not found: pylab" error after the same update.
Offline
I noticed the same _tkagg problem on two pc's, also other backends don't work. The problem also occurs for both python-matplotlib and python2-matplotlib, but python-matplotlib-git from the AUR does work.
I was planning to file a bug report, but it slipped my mind.
Offline
Added a bug report,
https://bugs.archlinux.org/task/32646
Offline
I get an "error file not found: pylab" error after the same update.
Pylab has been deprecated, I believe – the correct way to get at the pyplot and numpy namespaces is to import them explicitly:
import matplotlib.pyplot as plt
import numpy as np
Offline
Explicitly importing pyplot gives the same problem.
Offline
If the latest -git works, issue is upstream (and has been fixed), don't you think?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Seems so, if it was ever a bug upstream. Couldn't it be a packaging problem? Regardless the origin the arch package is still broken, so a bug report at the arch bug tracker should be useful right?
Offline
python2-matplotlib-noqt in AUR is another option.
Offline
Seems so, if it was ever a bug upstream. Couldn't it be a packaging problem? Regardless the origin the arch package is still broken, so a bug report at the arch bug tracker should be useful right?
If its a packaging problem that should be easily verified by you (compare the build steps on the -git PKGBUILD with the steps used in the Arch PKGBUILD). Then you'll know which bug tracker to use.
Much less effort overall spent that way, since the maintainer probably doesn't use the package the way you do (hence would have to take additional steps just to trigger the bug). I use python2-matplotlib and its been fine for me, for example.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I looked at the abs and found that the source of the issue lies in setup.cfg. Under the header [gui_support] it says,
gtk = False
gtkagg = False
tkagg = False
wxagg = False
macosx = False
Commenting these lines or deleting them sets the default option of 'auto' for these settings. This lets matplotlib build the gui extensions if dependencies are met, otherwise they are silently ignored. This is also what is used for the git version on the AUR. Commenting these lines fixed the issue for me. I posted this in the bug report as well.
Last edited by FreeTheBee (2012-11-19 20:32:54)
Offline
Pages: 1