[PyQt] Error C2146 at nmake
Phil Thompson
phil at riverbankcomputing.com
Sat Mar 7 09:20:34 GMT 2020
On 06/03/2020 00:47, Mamoru Inugami wrote:
> 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'
dllhandle is only present if Python is built as a DLL and supports the
dynamic loading of other DLLs.
Phil
More information about the PyQt
mailing list