Python appears to be unable to locate the module QAxContainer in PyQt5. The package was installed using Conda and is present in a sub-directory of PyQt5 but cannot be located. Additional testing with pip resulted in the same error.
QAxContainer
PyQt5
Ubuntu 20.04 Python 3.8.5
conda list pyqt5 5.15.2 pypi_0 pypi
conda list
from PyQt5 import QAxContainer
ImportError: cannot import name 'QAxContainer' from 'PyQt5' (/home/brian/anaconda3/lib/python3.8/site-packages/PyQt5/init.py)
However, qaxcontainer.py is present in /home/brian/anaconda3/lib/python3.8/site-packages/PyQt5/uic/widget-plugins
qaxcontainer.py
There should be QAxContainer.pyd and QAxContainer.pyi at /home/brian/anaconda3/lib/python3.8/site-packages/PyQt5/. If you dont have them maybe there's a problem with the package, try reinstalling PyQt5.
QAxContainer.pyd
QAxContainer.pyi
/home/brian/anaconda3/lib/python3.8/site-packages/PyQt5/
1.4m articles
1.4m replys
5 comments
57.0k users