PyScrcpy icon indicating copy to clipboard operation
PyScrcpy copied to clipboard

OSError: [WinError 126] 找不到指定的模块。

Open xlzhen-940218 opened this issue 4 years ago • 4 comments

Traceback (most recent call last): File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in call_with_frames_removed File "C:\Users\xlzhen\Downloads\PyScrcpy-master\server\server2.py", line 122, in dll = ctypes.CDLL('lib/server8.dll') File "D:\Python\Python37\lib\ctypes_init.py", line 364, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 126] 找不到指定的模块。

xlzhen-940218 avatar May 19 '20 06:05 xlzhen-940218

可能是系统版本和dll版本对不上 重新编译一下server/ffmpegLib的项目就好了

Yuandiaodiaodiao avatar May 20 '20 01:05 Yuandiaodiaodiao

OSError: [WinError 126] 找不到指定的模块。 我的操作步骤: 1.下载源码后直接main.py,提示OSError: [WinError 126] 找不到指定的模块。(但是打开其他dll文件正常) 2,下载vs2019,并将server ffmpeglib 重新生成,而且server/server2.py里面所需要的server8.dll确实重新生成成功 3.运行依旧找不到指定模块

zzh666666 avatar Sep 25 '20 23:09 zzh666666

OSError: [WinError 126] 找不到指定的模块。 我的操作步骤: 1.下载源码后直接main.py,提示OSError: [WinError 126] 找不到指定的模块。(但是打开其他dll文件正常) 2,下载vs2019,并将server ffmpeglib 重新生成,而且server/server2.py里面所需要的server8.dll确实重新生成成功 3.运行依旧找不到指定模块

win10 x64 ,python 3.7 ,vs2019

zzh666666 avatar Sep 25 '20 23:09 zzh666666

https://github.com/Yuandiaodiaodiao/PyScrcpy#dll%E4%BE%9D%E8%B5%96%E9%97%AE%E9%A2%98

Yuandiaodiaodiao avatar Sep 26 '20 15:09 Yuandiaodiaodiao