error message
ImportError: Failed to import any qt binding
complete error message:
Traceback (most recent call last):
File "/home/xovee/Desktop/codes/www20/plot/cascade_plot.py", line 1, in <module>
import matplotlib.pyplot as plt
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/pyplot.py", line 2355, in <module>
switch_backend(rcParams["backend"])
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/pyplot.py", line 221, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/backends/backend_qt4agg.py", line 5, in <module>
from .backend_qt5agg import (
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/backends/backend_qt5agg.py", line 11, in <module>
from .backend_qt5 import (
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/backends/backend_qt5.py", line 15, in <module>
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/backends/qt_editor/figureoptions.py", line 13, in <module>
from matplotlib.backends.qt_compat import QtGui
File "/home/xovee/miniconda3/envs/tf-2.0-a0/lib/python3.6/site-packages/matplotlib/backends/qt_compat.py", line 158, in <module>
raise ImportError("Failed to import any qt binding")
ImportError: Failed to import any qt binding
environment h1>
- Ubuntu 18.4 LTS li>
- Python 3.6 li>
- Matplotlib 3.1.1 li> ul>
solution
pip install PyQt5
<标题>引用 h1>
李
<> Foad。(2018年11月22日)。导入任何qt绑定、Python – Tensorflow失败。李从https://stackoverflow.com/questions/52346254/importerror-failed-to-import-any-qt-binding-python-tensorflow获取> ol>
div>
Read More:
- Import any QT binding error during installation of evo
- ImportError: numpy.core.multiarray failed to import
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- [Keras] ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- ImportError: dlopen: cannot load any more object with static TLS
- When VS code imported Cv2, an error ImportError: numpy.core.multiarray failed to import; There are no mistakes in using the Spyder
- Problem solving module ‘ tensorflow.compat . V2 ‘has no attribute’ contrib ‘and importerror cannot import name’ auto ‘
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- ImportError: cannot import name ‘to_categorical‘ from ‘keras.utils‘
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- ImportError: cannot import name ‘SparkSession‘
- Resolve importerror: cannot import name ‘totensor’ error
- ImportError: cannot import name ‘cross_validation’ from ‘sklearn’
- ImportError: cannot import name ‘SummaryWriter‘ from partially initialized module ‘torch.utils.tenso
- ImportError: cannot import name ‘calinski_harabaz_score‘ from ‘sklearn.metrics‘
- Resolve importerror: cannot import name ‘TF_ utils’
- Solve the problem of raspberry pie using GStreamer. Importerror: cannot import name XXX introspection typelib not found
- Solved! The new version of statsmodels has the problem of importerror: cannot import name ‘factorial’
solution
pip install PyQt5
<标题>引用 h1>
李
- <> Foad。(2018年11月22日)。导入任何qt绑定、Python – Tensorflow失败。李从https://stackoverflow.com/questions/52346254/importerror-failed-to-import-any-qt-binding-python-tensorflow获取> ol>
- Import any QT binding error during installation of evo
- ImportError: numpy.core.multiarray failed to import
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- [Keras] ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- ImportError: dlopen: cannot load any more object with static TLS
- When VS code imported Cv2, an error ImportError: numpy.core.multiarray failed to import; There are no mistakes in using the Spyder
- Problem solving module ‘ tensorflow.compat . V2 ‘has no attribute’ contrib ‘and importerror cannot import name’ auto ‘
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- ImportError: cannot import name ‘to_categorical‘ from ‘keras.utils‘
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- ImportError: cannot import name ‘SparkSession‘
- Resolve importerror: cannot import name ‘totensor’ error
- ImportError: cannot import name ‘cross_validation’ from ‘sklearn’
- ImportError: cannot import name ‘SummaryWriter‘ from partially initialized module ‘torch.utils.tenso
- ImportError: cannot import name ‘calinski_harabaz_score‘ from ‘sklearn.metrics‘
- Resolve importerror: cannot import name ‘TF_ utils’
- Solve the problem of raspberry pie using GStreamer. Importerror: cannot import name XXX introspection typelib not found
- Solved! The new version of statsmodels has the problem of importerror: cannot import name ‘factorial’
div>