⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Accessing PYQT4 in Pycharm5 CE

  • 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.
    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!!

  • 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.

Log in to reply