[PyQt] Error C2146 at nmake

Mamoru Inugami inugami.mamoru at gmail.com
Fri Mar 6 00:47:15 GMT 2020


I could get an exe file but I could not execute it.

I found the same error in this ML thread but not help....
http://python.6.x6.nabble.com/pyqtdeploy-as-shared-library-td5242529.html

 Traceback (most recent call last):
  File "temp5.py", line 6, in <module>
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 953, in _find_and_load_unlocked
  File "bootstrap.py", line 219, in _call_with_frames_removed
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 953, in _find_and_load_unlocked
  File "bootstrap.py", line 219, in _call_with_frames_removed
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/matplotlib/__init__.py", line 138, in <module>
  File "bootstrap.py", line 1035, in _handle_fromlist
  File "bootstrap.py", line 219, in _call_with_frames_removed
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/matplotlib/cbook/__init__.py", line 31, in <module>
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/numpy/__init__.py", line 140, in <module>
  File "bootstrap.py", line 1035, in _handle_fromlist
  File "bootstrap.py", line 219, in _call_with_frames_removed
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/numpy/_distributor_init.py", line 9, in <module>
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/ctypes/__init__.py", line 440, in <module>
AttributeError: module 'sys' has no attribute 'dllhandle'


MIchiaki ENDO

Sapporo, Japan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200306/048c2ab3/attachment.htm>


More information about the PyQt mailing list