Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xlzhen-940218 opened this issue May 19, 2020 · 4 comments
Open

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

xlzhen-940218 opened this issue May 19, 2020 · 4 comments

Comments

@xlzhen-940218
Copy link

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] 找不到指定的模块。

@Yuandiaodiaodiao
Copy link
Owner

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

@zzh666666
Copy link

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

@zzh666666
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants