Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong error string for mprof plot run #171
I got the following:
But in fact matplotlib is satisfied:
So it is printing the string but in fact the mprof failed due to:
Based on this, it will be great to give much more informative error message here.
Hello @ShahriyarR, thanks for your bug report! This looks like some installation issue with Python and its dependencies, but we will see. Some comments:
I recommend you to avoid using
On the other hand, the
So in fact, you're right that "No module named 'tkinter'" should be printed instead to be more informative. But I see there's already a
Hi @Juanlu001, thanks for tips. I am using test local Vagrant env and it is not too much important to break something :)
Yes I have pasted full output, trying again:
I tried to reproduce this by creating a conda environment and
And after installing matplotlib and selecting another backend
So I think the error message is working as expected, and perhaps you were using an old version of memory_profiler. I am closing this, please comment if the problem persists.