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
Wrong error string for mprof plot run #171
Comments
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:
The result:
|
Related: #91 |
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. |
Hi,
I got the following:
But in fact matplotlib is satisfied:
From https://github.com/pythonprofilers/memory_profiler/blob/master/mprof#L342
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.
The text was updated successfully, but these errors were encountered: