[PyQt] Simple installation of PyQt5 version 5.6 results in an immediate core dump

Phil Thompson phil at riverbankcomputing.com
Sat Jul 15 00:08:32 BST 2017


On 14 Jul 2017, at 11:51 pm, Gehlhaar, Dan <dan.gehlhaar at pfizer.com> wrote:
> 
> Hello, everyone.
>  
> I need to install PyQt 5.6 (I can’t use a more recent version) on Windows 10 Pro 64 bit.  I hit problems so I went back to a clean installation, and can reproduce a core dump at will. Any advice is appreciated.  Starting from a clean 64-bit installation of Python 3.5.3:
>  
> C:\Users\gehlhaar\Python35>Scripts\pip3.exe --no-cache-dir install "PyQt5 < 5.7"
> Collecting PyQt5<5.7
>   Downloading PyQt5-5.6-cp35-none-win_amd64.whl (74.7MB)
>     100% |################################| 74.7MB 5.1MB/s
> Collecting sip (from PyQt5<5.7)
>   Downloading sip-4.19.3-cp35-none-win_amd64.whl (49kB)
>     100% |################################| 51kB 5.7MB/s
> Installing collected packages: sip, PyQt5
> Successfully installed PyQt5-5.6 sip-4.19.3
>  
> C:\Users\gehlhaar\Python35>.\python
> Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from PyQt5.QtCore import *
> <crash>
>  
> I am flummoxed here… Any ideas?  I am attempting to build PyQt5 from source but somehow I am not confident that will help…

There might be a compatibility issue with later versions of sip. Try sip 4.18 or 4.18.1.

Phil



More information about the PyQt mailing list