Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Accessing PYQT4 in Pycharm5 CE

    General and Desktop
    2
    2
    1892
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Shilvz Sam last edited by

      hii all,,
      When I tried to install pyqt4 in pycharm ,, i got an error like this:

      Collecting PyQt4
      /usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Could not find a version that satisfies the requirement PyQt4 (from versions: )
      No matching distribution found for PyQt4.

      Even when I executed the command suggested by them ie, pip install pyqt4,, it doesn't worked.
      Can anyone please suggest me what to do???

      Thanks in advance!!

      1 Reply Last reply Reply Quote 0
      • David.G
        David.G last edited by

        Hello,

        You might want to check http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package

        Also, the distribution not found... which OS are you using (and distribution if any). Usually if it's development you can just install the libraries provided by your distribution. (most of the time pyqt4 and pyqt5 are available in the repositories).

        From the looks of it you could be lacking some packages(from either python packages or system (OS) packages), check the selected answer in stackoverflow.

        Lastly, you may want to go for PyQt5 as the future of Qt4 is dwindling away.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post