You are not logged in.
Pages: 1
Hi,
i hope someone can help me with thi sproblem, i installed Bittorrent 4.0 with pacman, but if i try to start btdownloadgui.py it says:
Traceback (most recent call last):
File "/usr/bin/btdownloadgui.py", line 28, in ?
import gtk
ImportError: No module named gtk
Someone got the same problem or can help me otherwise?
Offline
you need pygtk - the package wasn't added to the depends... lemme bug report it
Offline
Well, but i downloaded the pygtk package, and it still doesn't work
Offline
you did "pacman -S pygtk" and it still says "cannot find module gtk"?
Offline
Yep, i did and i still tried to install BT again after installing pygtk... maybe there is some path to add to the gtk module?
Offline
no, pygtk installs to the python lib directory - just to make sure, run "pacman -Ql pygtk" and make sure it's going into the "python2.4" directory.
Also, make sure your "PYTHONHOME" env variable is set properly... you may want to log off anf back on if you just installed python...
Offline
It is in /usr/lib/python2.3 is that a problem? And can i check, and evetually change my PYTHONHOME variable?
Offline
well then you have the wrong version... have you been keeping your system up to date (pacman -Syu)? if not make sure you upgrade python and all the python based packages so that they all locate themselve in the python2.4 directory...
I'm assuming you're running python 2.4, but have a 2.3 version of pygtk....
run "pacman -Sy pygtk" and it'll grab the newest version
Offline
I updated it but it says that i have the right version, but if i have a look at the paths, its still in 2.3
Offline
Did you log out and logged back in?
Offline
I did, still the same problem ... maybe i should try to compile it on myself ....
./configure
should show me what goes wrong
Offline
ummm what repos are you using? I dunno where the newest stuff is, but maybe you need a pygtk package from a different repo
Offline
I used pygtk from the extra repo and ran BitTorrent 4.0 without conflict.
Offline
same here... check:
$ pacman -Ql python
$ pacman -Ql pygtk
and see which one is installing to the 2.3 directory - whatever it is, get the most up to date version of that package....
I'd suggest running
# pacman -Scc
# pacman -Sy
before-hand
Offline
Pages: 1