Closed kne42 closed 5 years ago
You have not activated your environment therefore things will not run. Please use the Anaconda Prompt
.
@mingwandroid I have acquired a Windows machine and am able to replicate this on Anaconda Prompt
.
Steps to reproduce (conda=4.5.12
):
$ conda create -yn pyqt5-test-build-2 python=3.7.2=h8c8aaf0_2 && conda activate pyqt5-test-build-2
$ pip install PyQt5=5.12
$ python -c "from PyQt5 import QtCore"
However, pinning build 0 instead results in no errors, so something must have broken in build 1 or 2.
Starting with
python=3.7.2=h8c8aaf0_2
, our Windows builds are failing due to the DLL search path modification introduced in #14 somehow preventing one or more DLLs from being loaded properly. This was working fine in build 0.Following is the full traceback of the import with
CONDA_DLL_SEARCH_DEBUG=1
:Not sure if this is a problem specific to
PyQt5
DLLs or something else but regardless, I have ran tests pinningpython=3.7.2=h8c8aaf0_0
which did not have this bug. Any help for workarounds/solving this would be greatly appreciated :)