/home/user> btdownloadgui.py wxPython is either not installed or has not been installed properly. Traceback (most recent call last): File "/usr/bin/btdownloadgui.py", line 24, in ? sys.exit(1) NameError: name 'sys' is not defined so i emerge -av wxpython [ebuild R ] dev-python/wxpython-2.4.2.4 +gtk2 +jpeg +opengl +png +tiff -unicode 0 kB then i emerge -av bittornado [ebuild R ] net-p2p/bittornado-0.3.8 +X 0 kB then try running btdownloadgui.py again and I get the same error. The other bittornado scripts like btdownloadcurses.py runs normally. Reproducible: Always Steps to Reproduce: 1. run btdownloadgui.py ..crash 2. emerge wxpython (again) 3. emerge bittornado (again) 4. run btdownloadgui.py ..same crash Actual Results: btdownloadgui.py crashed Expected Results: It should display a nice bittorent gui with option to open a torrent file.
I have the same problem.
If you've recently upgraded to gtk+-2.6.x then try re-emerging wxGTK (and possibly wxpython after that)... I had the same problem and that solved it.
closing with comment 2
I didn't have wxGTK installed. Installing it (as suggested by Alexandru Toma) did fix this problem. Should wxGTK be added as a dependancy?