Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python + gtkimageview
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hampel
n00b
n00b


Joined: 26 Jul 2007
Posts: 55

PostPosted: Tue Apr 07, 2009 12:14 pm    Post subject: python + gtkimageview Reply with quote

ok, I am currently trying to install intipunku (already posted here, probably the wrong forum).
I'm at a point I can't get any further, since I need to install some python module called gtkimageview. I downloaded this package and installed it via ./configure, make, make install. Regarding to the README File, I should be able to load the module in python by starting python and do a "import gtkimageview". But all I get is this:
Code:
epimetheus gtkimageview # python2.5
Python 2.5.2 (r252:60911, Apr  7 2009, 12:28:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkimageview
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtkimageview
>>>

So whats the problem?
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Tue Apr 07, 2009 1:44 pm    Post subject: Reply with quote

pygtkimageview are python bindings to gtkimageview, you also have this installed? You should, otherwise ./configure should fail. You have ebuild for gtkimageview here https://bugs.gentoo.org/192239 but no ebuild for python module. When you manually install something that probably goes to /usr/local so python can't find it. You can set PYTHONPATH env variable to also include /usr/local/lib/python or something like that or you can try to make ebuild for this and post to bugzilla, these ebuilds (python modules) are usually simple, just look at dev-python. I don't know much about python so maybe there is something simpler you can do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum