ImportError: No module named pygtk
Hi all,
On Slackware12, I am trying to install DeVeDe (a linux program that converts X video to DVD), After extracting the .bz2 and running it's ./install.sh, When I try to run devede I am receiving this error: Quote:
If anyone has any ideas on how to fix this, i will be most grateful :) Cheers Orbit |
pygtk was not installed properly, try installing it again
|
Hi Orbit,
Looks like your install of the PyGTK module has gone wrong, To prove this run python from CLI (just type python into your console) and at the python prompt type "import pygtk". You should get the import error again showing that pygtk is not setup right. If I were you I would download pygobject, pycairo and pygtk from Slackbuilds.org and download the sources. First build and install pygobject, then pycairo then pygtk. Pygtk should now be setup and installed. Try your "python - import pygtk" procedure again to make sure pygtk is installed. Then run your Devede install again. Good Luck |
Hello H_TeXMeX_H and bgeddy,
Thank you both for your replies, it seems that python was broken because they had been compiled/installed in the wrong order. bgeddy, I followed the install order that you instructed; and it is all working fine now :) Once again, thanks very much Cheers Orbit |
I managed to install devede and had the same problems.Now its installed and loads properly but when I try to open a multi media file like an .avi or .mpg they are not visible in the load file box???.I think i'll stick with ffmpeg.Does yours work ok?
|
Yes, ffmpeg works very well from whatever I've done with it. The trick is to compile it right ... try using the one from slackbuilds.org
|
If you want a ffmpeg that has all these codecs built-in as static libraries, instead of depending on them being additionally installed, you can also checkout http://www.slackware.com/~alien/slackbuilds/ffmpeg/
The ffmpeg.SlackBuild there will download all the tarballs needed and build a fully functional ffmpeg. You can also download and install the ready-made package. Eric |
Hi hoodooman,
Hmm, that's strange? Yes after the python problem was sorted, DeVeDe has been working brilliantly for me. Maybe you could try reinstalling DeVeDe? Sorry I cant offer any other suggestions, but I would really try to get DeVeDe working as it is a very powerful and smooth program. Good Luck Cheers Orbit |
Thanks all.I liked the ffmpeg tips.I have been using alienbob builds for a time now but never ffmpeg.I use the one that comes in the slackwaremediapack.It does work well but if I ever reinstall Slack (rare):-)I will try his build.And I will persevere with devede just cos its buggin me.
|
Well I got all the py stuff from slackpacks and replaced the ones Id used previously from linuxpackages.Devede now works.Happy Happy Joy Joy.Thanks all.
|
I have the same problem, I followed your instructions but they didn't work, I even installed python again,and nothing...
any ideas? |
Quote:
|
All times are GMT -5. The time now is 06:51 PM. |