pycharm上安装使用easygui

运行下面两句后,显示错误

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就好了

如图:

技术分享

结果:

技术分享

第一次发博客,写的不好,慢慢来,从菜鸟到大神,路还长

好了,就这些了。

文章来自:http://www.cnblogs.com/CuiN/p/6220480.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3