GNS3 has a QtCore.QT_VERSION problem on archlinux up to date 2014-10-1
hi Guy
i notice that GNS3 0.8.7 official release can not work under arch linux with pyqt4 environment installed, error prompt as follow Code:
Need Qt v4.6 or higher, but got v%s" % QtCore.QT_VERSION_STR here is what i saw Code:
so i wrote another simple Python script to print which version did gns3 get Code:
1 #!/usr/bin/python Code:
QtCore.QT_VERSION_STR=4.8.6 i start the next step to fix the problem pacman -S pyqt there is only python-pyqt4-4.11.2 can be installed i try to import pyqt5 instead of pyqt4 in the script of gns3 but it print out the same error, and i dont understand , my pyqt5 version is 5.3.2-1 it is still can meet the require of gns3, the QtCore.QT_VERSION_STR output 0x050302,is totally over 0x040600, why i got the same error. does anyone run gns3 successfully with kernel 3.16 on archlinux up to date 2014-10-01, please tell me your solution. |
PyQt 4.11.2 is not Qt.
The required package name is "qt4" . ftp://ftp.u-tx.net/archlinux/extra/os/i686/ . ftp://ftp.u-tx.net/archlinux/extra/os/x86_64/ |
Quote:
see the python script output QtCore.QT_VERSION=4.8.6 |
i think i make a mistake of the error output
here is the original error output Code:
File "./gns3", line 43 i check my default python version by the following command Code:
ls -l /usr/bin/python after i recreate the python link to python2.7 , gns3 works properly Code:
mv /usr/bin/python /usr/bin/python.bak Code:
#!/usr/bin/env python Code:
#!/usr/bin/python2 |
Please mark the thread as SOLVED :
"Thread Tools" → *SOLVED* |
All times are GMT -5. The time now is 01:43 AM. |