Skip to content

import QApplication not working on x64 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ruidc opened this issue Mar 6, 2015 · 2 comments
Closed

import QApplication not working on x64 #11

ruidc opened this issue Mar 6, 2015 · 2 comments

Comments

@ruidc
Copy link

ruidc commented Mar 6, 2015

running the pip version, 0.1.8 and the suggested test code:

>>>from PyQt5 import QtWidgets
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.

should I have done any preparation before running the pip command?

@mottosso
Copy link
Member

mottosso commented Mar 6, 2015

No, you're right, I've updated the Readme to the current 5.4 release, but not updated the pip distribution due to some issues.

For the current version, you'll need the Visual C++ 2013 redistributable.
http://www.microsoft.com/en-us/download/details.aspx?id=40784

Sorry about that, it'll go away once 5.4 can be put up on PyPI.

Alternatively, you can pip install from GitHub, which will include it for you (but isn't as well-tested).

See here: #7 (comment)

Best,
Marcus

@mottosso
Copy link
Member

Assuming this works for you now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants