PyQt5-5.8.2 doesn't function on Windows 10

后端 未结 3 1572
刺人心
刺人心 2021-01-28 05:14

I need to install qscintilla. I use pip for that:

> pip install qscintilla

PyQt5 automatically upgrades to the latest ve

3条回答
  •  醉话见心
    2021-01-28 05:33

    I found a workaround: don't use Anaconda. I deleted Anaconda from my PC and did a fresh install like this:  
     

    1. Install Python 64-bit

    Download the 64-bit installer for Windows from this URL: https://www.python.org/downloads/release/python-361/

    Make sure to include pip when asked for the installation options!  
     

    2. Install PyQt5

    Install PyQt5 by typing the following in your Windows command terminal:

    > pip install PyQt5 --no-cache-dir
    ...
    Successfully installed PyQt5-5.8.2 sip-4.19.2
    

    The --no-cache-dir option makes sure that pip will not use an old version stored somewhere on your computer, but download the latest one instead.  
     

    3. Install QScintilla

    Install QScintilla like this:

    > pip install qscintilla --no-cache-dir
    Successfully installed qscintilla-2.10
    

提交回复
热议问题