I asked and answered myself again, and it took me a long time to solve the problem. . . Install sip in the python3 folder by compiling source files. pip3 install installs it in the python3.5 folder. It will first look for modules in python3. Therefore, no matter how you delete pip3, it will be useless. Refer to building the Python3.4 + PyQt5.3.2 + Eric6.0 development platform under Ubuntu 14.04 So first use sudo rm /usr/lib/python3/dist-packages/sip* to delete the modules under python3, and then re-enter the official website Download sip, compile and install. But loading the PyQt5 module in this way will prompt "core dump error", so you need to re-download PyQt5 to compile and install.
I asked and answered myself again, and it took me a long time to solve the problem. . .
Install sip in the python3 folder by compiling source files. pip3 install installs it in the python3.5 folder. It will first look for modules in python3. Therefore, no matter how you delete pip3, it will be useless.
Refer to building the Python3.4 + PyQt5.3.2 + Eric6.0 development platform under Ubuntu 14.04
So first use sudo rm /usr/lib/python3/dist-packages/sip* to delete the modules under python3, and then re-enter the official website Download sip, compile and install.
But loading the PyQt5 module in this way will prompt "core dump error", so you need to re-download PyQt5 to compile and install.