LostXine / naive-scrcpy-client

A naive client of Scrcpy in Python.
MIT License
76 stars 23 forks source link

Win10 x64 == OSError: [WinError 126] 找不到指定的模块。 #7

Open QGB opened 1 year ago

QGB commented 1 year ago
In [229]: !C:/QGB/Anaconda3/python.exe run_client.py
Upload JAR...
61550
Run JAR
Connected!
Device Name: Nexus 6P
WxH: 360x640
Exception in thread Thread-3:
Traceback (most recent call last):
  File "C:\QGB\Anaconda3\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\QGB\Anaconda3\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\test\github\naive-scrcpy-client\NaiveScrcpyClient.py", line 78, in _run_decoder
    lib_avcodec = ctypes.CDLL(avcodec_lib)
  File "C:\QGB\Anaconda3\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

In [230]: ls C:\test\github\naive-scrcpy-client\lib
 驱动器 C 中的卷是 C的复件
 卷的序列号是 C09B-BA8F

 C:\test\github\naive-scrcpy-client\lib 的目录

2023/10/04  00:55    <DIR>          .
2023/10/04  00:55    <DIR>          ..
2023/04/26  22:39        93,583,189 avcodec-58.dll
2023/04/26  22:39        33,654,718 avformat-58.dll
2023/04/26  22:39         4,249,209 avutil-56.dll
2023/10/04  00:52            19,346 scrcpy-server.jar
2023/04/26  22:39           855,580 swresample-3.dll
               5 个文件    132,362,042 字节
               2 个目录 20,204,953,600 可用字节