python 3.x - Uninstalling PyQt5 to install PyQt4 -
i use windows 7 , python 3.4 (32bit). installed pyqt5 , proceeded watching tutorials on how use module. however, tutorial used pyqt4 instead , faced problems. so, decided switch pyqt5 older, pyqt4. installed pyqt5 using windows installers.
when proceeded install pyqt4, gives me error message: a copy of pyqt5 python v3.4 installed in c:\python34 , must uninstalled first.
after checking documentation, said couldn't have both pyqt4 , pyqt5 installed @ same time, unless built source. i'm not sure how build source on windows after trying(extracting sip, running configure.py; extracting pyqt4, running configure-ng.py/configure.py) still bunch of errors namely:
something qmake related
import error: no module named sipconfig.
i gave trying build source , instead wanted uninstall pyqt5 use pyqt4. deleted sip folder , pyqt4 botched installation first. then, deleted pyqt5 site-packages qt.conf in c:\python34.
running binaries pyqt4 still gives me pyqt5 installed error message. how uninstall pyqt5 can install pyqt4? thanks.
since no 1 bothered answer, found solution. installed pyqt5 again using installer , used uninstall.exe provided in pyqt5 folder in site-packages. hope solution helpful others such here.
uninstall using uninstall.exe provided in pyqt4/5 folder in site-packages. if deleted folder, reinstall .exe first used , try again.
Comments
Post a Comment