pycharm上安装使用easygui

来源:互联网 发布:caffe 调用训练好模型 编辑:程序博客网 时间:2024/05/10 02:29


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

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.kanxia.org/info/1191.html

0 0