Skip to content
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

ImportError: Failed to import any qt binding #109

Open
jp18813100494 opened this issue Aug 23, 2018 · 2 comments
Open

ImportError: Failed to import any qt binding #109

jp18813100494 opened this issue Aug 23, 2018 · 2 comments

Comments

@jp18813100494
Copy link

Anyone know why the problem occurs?Help me!

@wuweijia1994
Copy link

It is caused by not installing the PyQt5.
pip install PyQt5 works for me.

@ajarv
Copy link

ajarv commented Dec 22, 2018

I got this error while trying to use matplotlib in a cron job to create and save plot image files.

The solution that worked for me was to import matplotlib before matplotlib.pyplot e.g.


import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants