我尝试使用以下方法安装 Pyside2-uic:
sudo apt-get install -y python-pyside2
sudo apt-get install pyside2-tools
当我使用 pyside2-uic 将 .ui 文件转换为 .py 时,我仍然收到错误为“ ImportError:没有名为 pyside2uic.driver 的模块”
Traceback (most recent call last):
File "/usr/bin/pyside2-uic", line 28, in <module>
from pyside2uic.driver import Driver
ImportError: No module named pyside2uic.driver
如何解决此错误