gps icon indicating copy to clipboard operation
gps copied to clipboard

ImportError: Failed to import any qt binding

Open jp18813100494 opened this issue 7 years ago • 2 comments

Anyone know why the problem occurs?Help me!

jp18813100494 avatar Aug 23 '18 15:08 jp18813100494

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

wuweijia1994 avatar Nov 17 '18 08:11 wuweijia1994

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


ajarv avatar Dec 22 '18 02:12 ajarv