AttributeError: module 'click' has no attribute 'command'

今天在运行python时出现如下问题:

File "convert.py", line 84, in <module>
    @click.command()
AttributeError: module 'click' has no attribute 'command'

查找后发现居然可以强制更新。还有一些问题是因为自己定义了click的文件,这样导入时就会出现问题。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章