pyGtk
为啥我安装pyGtk时报错:ERROR: Command errored out with exit status 1:
command: 'c:\users\family_1702\appdata\local\programs\python\python38-32\py
thon.exe' -c 'import sys, setuptools, tokenize; sys.argv = '"'"'C:\\Users\\fa
mily_1702\\AppData\\Local\\Temp\\pip-install-1wq5103c\\pygtk\\setup.py'"'"'; __f
ile__='"'"'C:\\Users\\family_1702\\AppData\\Local\\Temp\\pip-install-1wq5103c\\p
ygtk\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_
_, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\family_1702\AppData\Local\Tem
p\pip-pip-egg-info-zmes7zxy'
cwd: C:\Users\family_1702\AppData\Local\Temp\pip-install-1wq5103c\pygtk
\
Complete output (1 lines):
ERROR: Could not import dsextras module: Make sure you have installed pygobj
ect.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check th
e logs for full command output.
ERROR: Command errored out with exit status 1:
command: 'c:\users\family_1702\appdata\local\programs\python\python38-32\py
thon.exe' -c 'import sys, setuptools, tokenize; sys.argv = '"'"'C:\\Users\\fa
mily_1702\\AppData\\Local\\Temp\\pip-install-1wq5103c\\pygtk\\setup.py'"'"'; __f
ile__='"'"'C:\\Users\\family_1702\\AppData\\Local\\Temp\\pip-install-1wq5103c\\p
ygtk\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_
_, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\family_1702\AppData\Local\Tem
p\pip-pip-egg-info-zmes7zxy'
cwd: C:\Users\family_1702\AppData\Local\Temp\pip-install-1wq5103c\pygtk
\
Complete output (1 lines):
ERROR: Could not import dsextras module: Make sure you have installed pygobj
ect.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check th
e logs for full command output. https://www.lfd.uci.edu/~gohlke/pythonlibs/
在这个里面下载了安装 kogawananari 发表于 2020-11-14 14:15
https://www.lfd.uci.edu/~gohlke/pythonlibs/
在这个里面下载了安装
这个行吗
pip install pyGtk -i https://pypi.doubanio.com/simple/ pip install + whl文件 kogawananari 发表于 2020-11-14 14:49
pip install + whl文件
还是报错。。。
{:10_263:} 叼辣条闯世界 发表于 2020-11-14 15:02
还是报错。。。
{:10_292:}报错里面有句 Make sure you have installed pygobject.
是不是要装pygobject还有就是
https://www.lfd.uci.edu/~gohlke/pythonlibs/
这个网站里面是不是全都是python2.7的 根本不支持?
还有 你电脑是32位吗 本帖最后由 叼辣条闯世界 于 2020-11-15 09:54 编辑
kogawananari 发表于 2020-11-14 15:16
报错里面有句 Make sure you have installed pygobject.
是不是要装pygobject还有就是
ht ...
我电脑64位,python3.8.32
安装pygobject满屏报错
你python的exe是 c:\users\family_1702\appdata\local\programs\python\python38-32\python.exe
你这不是装的32的那为什么有个python38-32 叼辣条闯世界 发表于 2020-11-15 09:53
我电脑64位,python3.8.32
安装pygobject满屏报错
你从文件安装是不会出现这个build提示的,检查你有没有正确下载对应xxx-cp38-win32.whl文件,cmd有没有cd到whl所在文件夹,有没有正确输入安装命令。
页:
[1]