Skip to content
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

python3.dll is missing #1394

Closed
Siecje opened this issue Jan 30, 2017 · 15 comments
Closed

python3.dll is missing #1394

Siecje opened this issue Jan 30, 2017 · 15 comments

Comments

@Siecje
Copy link

Siecje commented Jan 30, 2017

Anaconda 4.2.0 is missing python3.dll.

After pip install PyQt5==5.7.1 importing import PyQt5.QtCore fails with missing .dll message.

Dependency Walker lists python3.dll as missing.

By adding python3.dll from an installer from python.org to the Anaconda install directory (same place as python35.dll), PyQt5 works.

@ccordoba12
Copy link

Please use conda packages to install PyQt5. We don't support pip packages for it right now.

@Aspirinkb
Copy link

I use 'conda install -c nmearl pyqt5=5.5.0' to install PyQt5 on my mac in python3.5 env. from PyQt5.QtWidgets import ( QWidget, QPushButton, QApplication, QHBoxLayout, QVBoxLayout, QFileDialog, QMessageBox, QLabel, QTableWidget, QTableWidgetItem, QDialog) can not run and the error information as follows

Traceback (most recent call last):
File "", line 1, in
from PyQt5.QtWidgets import (
ImportError: dlopen(/Users/yan/anaconda/envs/face_identification_tpe/lib/python3.5/site-packages/PyQt5/QtWidgets.so, 2): Library not loaded: @rpath/./libicui18n.56.dylib
Referenced from: /Users/yan/anaconda/envs/face_identification_tpe/lib/libQt5Core.5.5.0.dylib
Reason: image not found

@ccordoba12
Copy link

nmearl is not the default channel. To install PyQt5 with conda you simply need to run

conda install pyqt

@Aspirinkb
Copy link

@ccordoba12 Oh, thank you. I had pyqt 4.11.4 installed, so I update it.

@ccordoba12
Copy link

👍

@Siecje
Copy link
Author

Siecje commented Feb 16, 2017

There is no conda package for the newest PyQt5.

It might be worth you updating the report to say that the bug is not specific to PyQt5 and affects all extension modules that rely on PEP 384.
https://www.riverbankcomputing.com/pipermail/pyqt/2017-February/038833.html

@ccordoba12
Copy link

There is no conda package for the newest PyQt5.

We know there isn't. The reason is we need to support Python 2 on Windows and that's impossible to do for Qt 5.7 and newer versions.

@ccordoba12
Copy link

@mingwandroid, do you understand the implications of not having python3.dll on Windows? Can we provide it?

@mingwandroid
Copy link

Seems like we're breaking PEP 384 by not having it.

I expect we could easily provide it yes; taking a look now.

@ccordoba12 ccordoba12 changed the title PyQt5==5.7.1 requires python3.dll python3.dll is missing Feb 16, 2017
@ccordoba12 ccordoba12 reopened this Feb 16, 2017
@rausm
Copy link

rausm commented Apr 18, 2017

As a temporary workaround, python3.dll from WinPython works for me (Python 3.6, x64).

At least latest WinPython (2017/4/1) has it (maybe even the 2017/01/28, i think the older ones didn't have it).

Should cover at least Python 3.5 & 3.6, both 32 & 64bit

EDIT: The "Zero" versions contain Python3.dll, and are significantly smaller then the "full" packages.

@shaneahmed
Copy link

By adding python3.dll from an installer from python.org to the Anaconda install directory (same place as python35.dll), PyQt5 works.

Installing using conda install qyqt does not fix the issue.

@scw
Copy link

scw commented Sep 15, 2017

The conda packages for Python from the last six months all include python3.dll. I think this issue can safely be closed.

@mingwandroid
Copy link

Thanks @scw.

@liudenaxietian
Copy link

after install anaconda with python 3.7.3 (contain python3.dll),when execute"from PyQt5 import QtCore",it will show "DLL load fail" error,can anyone who can tell me why?

@rausm
Copy link

rausm commented Sep 24, 2019

after install anaconda with python (contain python3.dll),when execute"from PyQt5 import QtCore",it will show "DLL load fail" error,can anyone who can tell me why?

when having troubles with missing dependencies, grab http://dependencywalker.com/ and have a blast ;-)

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

No branches or pull requests

8 participants