運行下面兩句后,顯示錯誤
import easygui
easygui.msgbox("Hello There!")
錯誤:
Traceback (most recent call last): File "<stdin>", line 1,
in <module> AttributeError: 'module' object has no attribute 'msgbox'
解決辦法:
下載安裝easygui放到目錄下沒有什么用
在cmd上安裝pip
然后再安裝easygui就好了
如圖:
結果:
第一次發博客,寫的不好,慢慢來,從菜鳥到大神,路還長
好了,就這些了。