[PySide] Can't import QtCore etc. on windows 10 / python 3.6 64 bit

Alexandru Croitor alexandru.croitor at qt.io
Mon May 14 10:51:11 CEST 2018


Hi,

I was just writing a reply.

I tried your command on my Windows machine, and it worked for Python 3.6.1 inside a virtualenv.

Glad it worked for you in the end.
On 14. May 2018, at 10:49, Sebastian Schoellhammer <sschoellhammer.lists at gmail.com<mailto:sschoellhammer.lists at gmail.com>> wrote:

Just wanted to say it's working fine with 3.6.5 so all is good :)



On Sun, May 13, 2018 at 10:50 AM, Sebastian Schoellhammer <sschoellhammer.lists at gmail.com<mailto:sschoellhammer.lists at gmail.com>> wrote:
Hello there,

I'm trying to get Pyside2 working on windows without much luck.

Below is what I'm doing:

pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 --trusted-host download.qt.io<http://download.qt.io/>
Collecting pyside2
  Downloading http://download.qt.io/snapshots/ci/pyside/5.9/latest/pyside2/PySide2-5.9.0a1.dev1525348439-5.9.6-cp36-cp36m-win_amd64.whl (181.0MB)
    100% |████████████████████████████████| 181.0MB 12.8MB/s
Installing collected packages: pyside2
Successfully installed pyside2-5.9.0a1.dev1525348439
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

> python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySide2.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified procedure could not be found.
>>>


Pyside installs just fine but when I import I have some dll (mismatch?) problem.

I tried this within an isolated env as well as with the latest version of pip.
The same worked just fine on macos. I'm at a loss what I'm doing wrong.

If you have any pointers please do let me know!

Thanks in advance,
seb


--
Sebastian Schoellhammer

w<http://www.sebscorner.org/>ww.mokumedia.de<http://www.mokumedia.de/>



--
Sebastian Schoellhammer

w<http://www.sebscorner.org/>ww.mokumedia.de<http://www.mokumedia.de/>
_______________________________________________
PySide mailing list
PySide at qt-project.org<mailto:PySide at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/pyside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20180514/2e3393a5/attachment.html>


More information about the PySide mailing list