Closed wsy closed 7 years ago
Environment Ubuntu
已经执行过sudo apt install --reinstall python3-click-package命令了。
难道还要单独apt-get install click?
你好,执行下面的命令即可
pip install click
可能是Ubuntu安装的Click和这里通过 PIP 版本安装的click不一致.
仍然不行
请尝试先卸载掉你的那个ubuntu package 安装的click包
$ danmu.fm -q 3 -m 1 -p . -vvvv http://www.douyu.com/444360 Traceback (most recent call last): File "/usr/local/bin/danmu.fm", line 7, in
from danmufm.danmu import main
File "/usr/local/lib/python3.4/dist-packages/danmufm/danmu.py", line 76, in
@click.command()
AttributeError: 'module' object has no attribute 'command'