New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debugging matplotlib #3263
Comments
I have also seen this issue. and reproduce it using:
sometimes it raises this error:
sometimes it raises a segfault· I am using matplotlib 1.3.1, though that is the version I am using. I am using ubuntu 14.04, having updated yesterday. I did not see this issue before the update. for completeness as I edited this while tacaswell responded. I found a simple script to reproduce the error here: https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/1266605 . a colleague of mine with the same OS/Tk/matplotlib versions as me doesn't see the error so not sure its the same bug. |
Try re-installing tcl via anaconda (as it looks like you are using conda from your paths). How did you install everything you are using? @kebarr It looks like the problem on that bug report is in the debian build scripts, not something on our side. |
tacaswell- do you have any advice for further debugging? We have tried digging into the matplotlib code to try and find out exactly where it fails, we're not sure if this is a matplotlib or Tkinter issue, or indeed something else entirely. |
ah, you linked to a ubuntu/dedian bug so I assumed you were using a linux distribution. In my opinion this is an OSX issue. I suspect that the problem is that you have ended up with crossed versions of python, tk, and matplotlib (which is very easy do to on OSX). The reason you are seeing this problem, but your college is not, is that it is a path issue and can depend on the order you installed stuff/exactly how you installed it. My recommendation is to delete everything and then re-install from a single source (canopy, conda, homebrew ect). Which method you pick doesn't matter too much, the important thing is to not mix install methods. #2025 may be related |
@neuronphysics Are you also on a mac? |
hey, thanks (i was actually on Ubuntu, the error occurred following an update to 14.04, I probably should have raised a new issue...), but I fixed it doing roughly what you said. to make it work I had to remove tk and tk-dev and reinstall them, then create a new virtualenv and install matplotlib there. the order of the tk and matplotlib installs matters. |
Looks like the version of Tcl moved on your system. |
The matplotlib was so far working in my pc very well but then I started getting problem to import pyplab and pyplot. Therefore I installed again matplotlib and when I ran the troubleshoot command I got the following error message:
I don't understand what caused the problem?
The text was updated successfully, but these errors were encountered: