[英]Issue installing zenipy, ModuleNotFoundError: no module named 'gi'
I'm trying to import zenipy for windows 10 after reading and experiencing that zenity-python simply will not work.在阅读并体验到 zenity-python 根本无法工作后,我正在尝试为 Windows 10 导入 zenipy。 So I installed zenipy and got the 'successfully installed' message from the command line but now when trying to import it I get :所以我安装了 zenipy 并从命令行收到了“成功安装”的消息,但现在尝试导入它时我得到:
ModuleNotFoundError: No module named 'gi'
in PyCharm I am writing:在 PyCharm 我写:
from zenipy import *
Please can someone help me to import zenipy and tell me what is going wrong?请有人帮我导入zenipy并告诉我出了什么问题吗?
Looks like it's not installed or don't have the dependencies that need.看起来它没有安装或没有需要的依赖项。 Try pip uninstall zenipy
and then pip install zenipy
.尝试pip uninstall zenipy
,然后pip install zenipy
。
Or download and install the repo on GitHub.或者在 GitHub 上下载并安装 repo。
$ git clone https://github.com/poulp/zenipy.git
$ cd ./zenipy
$ python setup.py install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.