[python-win32] Help, could you please help to see the below python issue?
wang
jhony1 at 126.com
Thu Dec 19 20:53:35 EST 2024
Hi all,
could you please help to see the below python issue? which says some dll is not a valid or workable Win32 program. thank you very much.
i install python python-3.7.7-amd64.exe in win64 operation system using AMD processor , actually I have tried below solutions,but doesn't work, the issue still exists.
unstall pywin32 and install pywin32-304-cp37-cp37m-win_amd64.whl.
copy dll files in directory C:\Python26\Lib\site-packages\pywin32_system32\ to C:\Windows\System32.
pip install matplotlib
unstall python and clear it completely include in regedit, make sure no other python version installed in my PC, after that, install python and the issue still exists.
[ ERROR ] Error in file 'D:\2210\ZR\Resources\resource_Common.txt' on line 4: Importing test library 'D:\2210\ZR\libs\robot_Library.py' failed: ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
Traceback (most recent call last):
File "D:\2210\ZR\libs\robot_Library.py", line 14, in <module>
from libs.X_rndis import Rndis, ftp, IPERF
File "D:\2210\ZR\libs\X_rndis.py", line 13, in <module>
import matplotlib.pyplot as plt
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\__init__.py", line 109, in <module>
from . import _api, _version, cbook, docstring, rcsetup
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\rcsetup.py", line 27, in <module>
from matplotlib.colors import Colormap, is_color_like
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\colors.py", line 56, in <module>
from matplotlib import _api, cbook, scale
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\scale.py", line 23, in <module>
from matplotlib.ticker import (
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\ticker.py", line 136, in <module>
from matplotlib import transforms as mtransforms
File "C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\transforms.py", line 46, in <module>
from matplotlib._path import (
PYTHONPATH:
C:\Users\jhony\AppData\Local\Programs\Python\Python37\Scripts\robot.exe
C:\Users\jhony\AppData\Local\Programs\Python\Python37\python37.zip
C:\Users\jhony\AppData\Local\Programs\Python\Python37\DLLs
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib
C:\Users\jhony\AppData\Local\Programs\Python\Python37
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\win32
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\win32\lib
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\Pythonwin
C:\Users\jhony\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\../../lib
D:\2210\ZR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20241220/88393f9b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_logs_2024-12-19_164905.zip
Type: application/zip
Size: 141052 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-win32/attachments/20241220/88393f9b/attachment-0001.zip>
More information about the python-win32
mailing list