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

requirements.txt中缺少依赖bilibili-api #136

Open
USN484259 opened this issue Jul 4, 2022 · 0 comments
Open

requirements.txt中缺少依赖bilibili-api #136

USN484259 opened this issue Jul 4, 2022 · 0 comments

Comments

@USN484259
Copy link

测试使用的commit 0e7fe77

环境:

  • Ubuntu 20.04.4 LTS x86_64
  • Python 3.8.10

复现步骤:

$ pwd
/home/username/code/DD_Monitor
$ pip install -r requirements.txt
$ python3 DD监控室.py 
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "DD监控室.py", line 25, in <module>
    from VideoWidget_vlc import PushButton, Slider, VideoWidget
  File "/home/username/code/DD_Monitor/VideoWidget_vlc.py", line 16, in <module>
    from remote import remoteThread
  File "/home/username/code/DD_Monitor/remote.py", line 12, in <module>
    from bilibili_api import live
ModuleNotFoundError: No module named 'bilibili_api'

手动安装bilibili-api后正常运行

$ pip install bilibili-api
$ python3 DD监控室.py

建议在requirements.txt添加一行依赖项bilibili-api

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

1 participant