[PyQt] Issue with PyQt5 wheel on Windows

Cody Scott cody at perspexis.com
Wed Jan 18 23:09:01 GMT 2017


I have tried re-installing Anaconda 4.2.0 and install PyQt5==5.7.1 right
away or installing PyQt5==5.7 right away and they gives me the same issues.

PyQt5==5.7.1 says missing .dll when I import for example from PyQt5 import
QtCore

PyQt5==5.7 shows the stopped working window from Windows.

On 13 Jan 2017 12:22 p.m., "Hadrien Mary" <marelo64 at gmail.com> wrote:

> Well I can't do that since I don't have the "Python has stopped working"
> error using 5.7.1.
>
> Ideally I would like to use the conda-forge package but they don't have
> Qt5 yet :-(
>
>
> --
> HadiM
>
> On 13 January 2017 at 10:43, Cody Scott <cody at perspexis.com> wrote:
>
>> I too have the same problem on Windows 10 AE. With PyQt5==5.7 I get
>> stopped working. With PyQt==5.7.1 I get DLL error.
>>
>> I'm not sure what changed PyQt5==5.7 used to work.
>>
>> I've been meaning to create a dump file and follow the steps here for
>> PyQt==5.7 https://github.com/The-Compiler/qutebrowser/blob/m
>> aster/doc/stacktrace.asciidoc#for-windows when it stops working.
>>
>> On Fri, Jan 13, 2017 at 10:01 AM, Hadrien Mary <marelo64 at gmail.com>
>> wrote:
>>
>>> Note that using Python 3.5 with the old PyQt 5.7 wheels I have a
>>> different error :
>>>
>>> conda create -n cadnano python=3.5 numpy pandas
>>> activate cadnano
>>> pip install https://pypi.python.org/packages/3c/34/a768dacf653a883f57928ed971575c29f80b87db09a52c9b66724d6317a0/PyQt5-5.7-cp35-none-win_amd64.whl
>>> python -c "import PyQt5.QtCore"
>>>
>>> At this point a window shows up with the following : “Python has stopped
>>> working”
>>>
>>>>>> HadiM
>>>
>>> On 13 January 2017 at 06:33, Hadrien Mary <marelo64 at gmail.com> wrote:
>>>
>>> I just saw someone with the same issue on the mailing list
>>>> https://www.riverbankcomputing.com/pipermail/pyqt/2017-
>>>> January/038561.html
>>>>
>>>>
>>>> --
>>>> HadiM
>>>>
>>>> On 13 January 2017 at 06:31, Hadrien Mary <marelo64 at gmail.com> wrote:
>>>>
>>>>> Same happen with Python 3.5.
>>>>>
>>>>>
>>>>> --
>>>>> HadiM
>>>>>
>>>>> On 13 January 2017 at 06:27, Hadrien Mary <marelo64 at gmail.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Here is the error I have :
>>>>>>
>>>>>> ```
>>>>>> # python -c "import PyQt5.QtCore"
>>>>>> Traceback (most recent call last):
>>>>>>   File "<string>", line 1, in <module>
>>>>>> ImportError: DLL load failed: The specified module could not be found.
>>>>>> ```
>>>>>>
>>>>>> Here are the steps to reproduce the bug using Anaconda :
>>>>>>
>>>>>> ```
>>>>>> $ conda create -n cadnano python=3.6 numpy pandas
>>>>>> 0.6364785476754558nbsp;activate cadnano
>>>>>> $ pip install pyqt5
>>>>>> $ python -c "import PyQt5.QtCore"
>>>>>> Traceback (most recent call last):
>>>>>>   File "<string>", line 1, in <module>
>>>>>> ImportError: DLL load failed: The specified module could not be found.
>>>>>>
>>>>>> ```
>>>>>>
>>>>>> My system :
>>>>>>
>>>>>> ```
>>>>>> $ conda info
>>>>>> Current conda install:
>>>>>>
>>>>>>                platform : win-64
>>>>>>           conda version : 4.2.9
>>>>>>        conda is private : False
>>>>>>       conda-env version : 4.2.9
>>>>>>     conda-build version : 2.0.2
>>>>>>          python version : 3.5.2.final.0
>>>>>>        requests version : 2.11.1
>>>>>>        root environment : C:\Users\hadim\Anaconda3  (writable)
>>>>>>     default environment : C:\Users\hadim\Anaconda3
>>>>>>        envs directories : C:\Users\hadim\Anaconda3\envs
>>>>>>           package cache : C:\Users\hadim\Anaconda3\pkgs
>>>>>>            channel URLs : https://conda.anaconda.org/con
>>>>>> da-forge/win-64/
>>>>>>                           https://conda.anaconda.org/con
>>>>>> da-forge/noarch/
>>>>>>                           https://repo.continuum.io/pkgs/free/win-64/
>>>>>>                           https://repo.continuum.io/pkgs/free/noarch/
>>>>>>                           https://repo.continuum.io/pkgs/pro/win-64/
>>>>>>                           https://repo.continuum.io/pkgs/pro/noarch/
>>>>>>                           https://repo.continuum.io/pkgs
>>>>>> /msys2/win-64/
>>>>>>                           https://repo.continuum.io/pkgs
>>>>>> /msys2/noarch/
>>>>>>             config file : C:\Users\hadim\.condarc
>>>>>>            offline mode : False
>>>>>> ```
>>>>>>
>>>>>> Any idea what is going on ?
>>>>>>
>>>>>> (of course the same is working on Linux)
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>> --
>>>>>> HadiM
>>>>>>
>>>>>
>>>>>
>>>>>>>
>>> _______________________________________________
>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170118/1a646c5e/attachment-0001.html>


More information about the PyQt mailing list