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的文件,這樣導入時就會出現問題。

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