idning / youdao-dict-for-ubuntu

有道词典 linux client in python
185 stars 43 forks source link

安装问题 #4

Closed ghost closed 9 years ago

ghost commented 9 years ago

Ubuntu 14.04 LTS

sudo pip install pygtk 安装的时候一直遇到这个问题:

Downloading/unpacking pygtk Downloading pygtk-2.24.0.tar.bz2 (2.4MB): 2.4MB downloaded Running setup.py (path:/tmp/pip_build_root/pygtk/setup.py) egg_info for package pygtk


\* Building PyGTK using distutils is only supported on windows. *
\* To build PyGTK in a supported way, read the INSTALL file.    *
********************************************************************
Complete output from command python setup.py egg_info:
********************************************************************


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/pygtk Storing debug log for failure in /home/boler/.pip/pip.log

请教下如何解决。谢谢。 http://stackoverflow.com/questions/17886647/cant-install-via-pip-because-of-egg-info-error 这个链接中的答案我试过了,没有用。

idning commented 9 years ago

用apt-get 装pygtk , 14.04 上测试过ok的.

ghost commented 9 years ago

用apt-get没有装上:

~$ sudo apt-get install pygtk 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读g取状态信息... 完成 E: 未发现软件包 pygtk

idning commented 9 years ago

apt-get install python-gtk

ghost commented 9 years ago

sudo apt-get install python-gtk 还是一样的:

E: 未发现软件包 python-gtk

idning commented 9 years ago

sudo apt-get install python-gtk2 自己搜一下把,不能帮你更多了...

在synaptic 里面搜一下python-gtk相关的,就能找到了.

ghost commented 9 years ago

tks a lot 一下子没反应过来gtk我装过了 在新立得里装了个python-webkit就可以正常使用的了

idning commented 9 years ago

:) 下次写到readme里面.