richliu's blog

Linux, 工作, 生活.

richliu's blog header image 2

[Gentoo] pygtk 的小 Bug.

九月 3rd, 2007 · 4 Comments

升級 Python 時, ccsm 會找不到 pygtk 無法執行,
經過追查, 在 emerge pygtk 時會出現

* Cleaning orphaned Python bytecode from /usr/share/pygtk/2.0/codegen ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
* Unable to establish /usr/lib/python2.5/site-packages/pygtk.py symlink
* Unable to establish /usr/lib/python2.5/site-packages/pygtk.pth symlink
/>>> Auto-cleaning packages…

再重新安裝這二個套件

emerge -av pygobject pygtk


最後再跑一次 python-update

/usr/sbin/python-update

跑 python-update 如果有什麼錯誤訊息, 就升級那個套件就可以了.
會花一點時間.

Ref.
pygtk unable to establish symlinks – nicotine won’t start

[Tags] Gentoo, Pygtk, python, emerge [/tags]

No tag for this post.

Related posts

Tags: Gentoo

4 responses so far ↓

  • Man // 八月 27, 2008 at 10:14 下午 Unbranded Firefox 2.0.0.14 Linux

    Unbranded Firefox 2.0.0.14 Linux

    what’s the mean of -av,thank you

    [回應]

  • Ostolle // 九月 18, 2008 at 7:02 下午 Mozilla Firefox 3.0 Gentoo Linux

    Mozilla Firefox 3.0 Gentoo Linux

    –ask –verbose

    [回應]

  • Recent Links Tagged With "pygtk" - JabberTags // 一月 27, 2009 at 4:20 下午 PHP

    PHP

    [...] 2.0 e TREBIAN Saved by greylady on Mon 19-1-2009 Web Canvas Saved by Mikkle on Sat 17-1-2009 Comment on [Gentoo] pygtk 的小 Bug. by Man Saved by marydeebee on Wed 14-1-2009 Gnome development in Yoper Saved by tkwshnsk on Fri [...]

  • shellex // 五月 19, 2009 at 7:28 上午 Mozilla Firefox 3.5.0.0 Gentoo Linux

    Mozilla Firefox 3.5.0.0 Gentoo Linux

    Thx. I meet same error with my wicd.

    [回應]

Leave a Comment