wbt5 / real-url

获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 58 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。
GNU General Public License v2.0
7.25k stars 1.53k forks source link

six包报错 #463

Open xiyu-lds opened 8 months ago

xiyu-lds commented 8 months ago

环境:py 3.12

依赖:pip安装1.5.1的yarl会报错,所以改成1.9.1 aiohttp==3.7.4 async-timeout==3.0.1 attrs==20.2.0 certifi==2020.6.20 chardet==3.0.4 idna==2.10 multidict==4.7.6 protobuf==3.12.2 pycryptodome==3.9.8 PyExecJS==1.5.1 requests==2.26.0 six==1.15.0 typing-extensions==3.7.4.3 urllib3==1.26.5 yarl==1.9.1

具体报错: Traceback (most recent call last): File "D:\PythonProjects\real-url\danmu\main.py", line 6, in import danmaku File "D:\PythonProjects\real-url\danmu\danmaku__init__.py", line 6, in from .yqs import YiQiShan File "D:\PythonProjects\real-url\danmu\danmaku\yqs.py", line 8, in from . import yqs_pb2 as pb File "D:\PythonProjects\real-url\danmu\danmaku\yqs_pb2.py", line 8, in from google.protobuf import reflection as _reflection File "D:\PythonProjects\real-url\venv\Lib\site-packages\google\protobuf\reflection.py", line 51, in from google.protobuf import message_factory File "D:\PythonProjects\real-url\venv\Lib\site-packages\google\protobuf\message_factory.py", line 49, in from google.protobuf.internal import python_message as message_impl File "D:\PythonProjects\real-url\venv\Lib\site-packages\google\protobuf\internal\python_message.py", line 59, in from six.moves import range ModuleNotFoundError: No module named 'six.moves'