Python 3.8 + Win7,执行程序时报错:
Traceback (most recent call last):
File "F:\toplinker\timp\python\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "F:\toplinker\timp\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "F:\toplinker\timp\python\lib\http\server.py", line 92, in <module>
import email.utils
File "F:\toplinker\timp\python\lib\email\utils.py", line 29, in <module>
import socket
File "F:\toplinker\timp\python\lib\socket.py", line 49, in <module>
import _socket
ImportError: DLL load failed while importing _socket: 参数错误。
安装补丁后解决问题:
评论区