Hello everyone,
Thank you very much Christoph
to help us identify a last missing file
in the wheels.
A new set of Windows 64bit wheels has been uploaded now,
that solve the problem you raised.
Even if the name of the wheel has a '_2',
it will still be picked up when you write:
pip install pyside2==5.15.0
We encourage everyone to give it a try ;)
Thanks
On 6/15/20 5:10 PM, Cristián Maureira-Fredes wrote:
Hey Christoph,
Can you share more information on the bug report?
https://bugreports.qt.io/browse/PYSIDE-1323
Did you uninstall shiboken2 too when doing the re-install?
Cheers
On 6/15/20 4:55 PM, ic...@gmx.net wrote:
Hi Cristian,
I fear this is still not working for me. I just installed 5.15.0 into a
fresh virtual environment (it used
PySide2-5.15.0-5.15.0_1_cp35.cp36.cp37.cp38-none-win64.whl and the
corresponding shiboken2 package). Afterwards I got "ImportError: DLL
load failed: Das angegebene Modul wurde nicht gefunden" when importing
the QtCore module. Doing the same thing with PySide2-5.14.2.2 works as
expected.
Best Regards
Christoph
On 15.06.20 10:51, Cristián Maureira-Fredes wrote:
Hello everyone!,
We just updated the Windows (64bit) wheels on PyPi
due to a packaging problem.
Some users started to report a problem when trying
import PySide2
That looked like this:
PySide2/__init__.py: Unable to import shiboken2 from [snip]
from .shiboken2 import *
ImportError: DLL load failed while importing shiboken2: The
specified > module could not be found.
It took us some time to check this,
because not everyone could reproduce, until finally
we figure out that it was due to a problematic DLL.
The issue is that the Qt CI was updated for 5.15.0
and we started to use MSVC 2019, hence we shipped
those DDLs (like vcruntime140.dll).
You can find the fixes for the situation in the following
patches:
https://codereview.qt-project.org/c/pyside/pyside-setup/+/303785
https://codereview.qt-project.org/c/pyside/pyside-setup/+/303914
Why it worked for some people?
Because having a 'newer' version of MSVC installed in your system
provided the missing DLL, so people with 2019 compatible
redistributable binaries, didn't see the issue.
Since this problem was affecting only Windows,
we decided to update only those wheels, that now contain a "_1"
in the name, so people will be able to install 5.15.0
and get the updated version.
If you already have 5.15.0 installed,
you will need to reinstall:
pip uninstall PySide2 # will uninstall 5.15.0
pip install PySide2 # will install 5.15.0_1
Thanks to all the people that helped us to figure out
the problem, and we invite you to join the different
platforms we have to be in touch with the community:
https://wiki.qt.io/Qt_for_Python#Community
Have a nice week!
Cheers
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside
--
Dr. Cristian Maureira-Fredes
R&D Manager
The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside