pyside2 installation problem on ubuntu18.04, python 3.8.3 on anaconda

前端 未结 3 804
刺人心
刺人心 2021-01-22 01:54

After installing anaconda3, I began to install pyside2.

I directly typed pip install pyside2, and successfully installed pyside2 5.15. But when I ran the toy

3条回答
  •  -上瘾入骨i
    2021-01-22 02:18

    You are getting the error because you have a wrong version of qt on your machine. I mean it seems anaconda installs the wrong version of QT by default. First, you need to install essential packages (enter link description here) and then do the following steps:

    1. pip uninstall pyside2, qt, pyqt5 if you have installed them with pip
    2. conda remove pyside2, qt, pyqt5 if you have installed them with conda
    3. conda install -c conda-forge pyside2

提交回复
热议问题