Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone got this to work on slackware 12.1?
I have installed requested libs. Everything installs fine. When I run it I get "Can't import Qt modules, PyQt is probably not installed." PyQt4 is installed and Qt4 is installed. I have put qt4 bin directory in path. Not sure what else to try.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Please tell, which package "PyQt4" you installed.
The answer ""Can't import Qt modules, PyQt is probably not installed.""
from 'gns3' appears only, when no PyQt4 is installed?. Wrong version gives :
Quote:
Traceback (most recent call last):
File "/usr/bin/gns3", line 35, in ?
raise RuntimeError, "Need Qt v4.3 or higher,
but got v%s" % QtCore.QT_VERSION_STR
RuntimeError: Need Qt v4.3 or higher, but got v4.2.2
and it's not about Qt4, but PyQt4. ( My qt4 = 4.3.2 )
after hours of working, deleted all files and reference to sip and reinstalled latest version of sip. fixed it. problem was because python crashed trying to import module sip.
I've got the same problem now. Could you tell me what exactly files did you delete and what versions of the packages did you install at the end? Thanks
Hi! I'm using Debian Squeeze and I've compiled and installed PyQt-4.7.3, sip 4.10.2 and even all Qt libraries 4.6.2 (only take me 5 hours :/). After this I try to run GNS3 and always obtain same error:
../NS3-0.6-src# ./gns3
Can't import Qt modules, PyQt is probably not installed ...
../NS3-0.7-src# ./gns3
Can't import Qt modules, PyQt is probably not installed ...
Quote:
Originally Posted by knudfl
Please tell, which package "PyQt4" you installed.
The answer ""Can't import Qt modules, PyQt is probably not installed.""
from 'gns3' appears only, when no PyQt4 is installed?. Wrong version gives :
and it's not about Qt4, but PyQt4. ( My qt4 = 4.3.2 )
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Well, you will have to find out,
which versions fit together, and with GNS.
Why not use the default packages,
that can be installed with 'apt-get install <package>
? ? Please tell the reason. Nobody says, that latest is best !
GNS3-0.6 may not work with those.? Did you try with GNS3-0.7 ?
..
P.S. : GNS3-0.6 and GNS3-0.7 work perfect with these :
(libqt4-devel-4.5.3) , python-qt4-4.5 , python-sip-4.8
............. on PCLinuxOS 2009.2 .............
And....... python-qt4-4.7 , python-sip-4.10
.............. on PCLinuxOS 2010. ...........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.