Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25034 > unrolled thread

Re: how to compile pygtk in python2.7?

Started byBenjamin Kaplan <benjamin.kaplan@case.edu>
First post2012-07-07 22:10 -0700
Last post2012-07-07 22:10 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to compile pygtk in python2.7? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-07-07 22:10 -0700

#25034 — Re: how to compile pygtk in python2.7?

FromBenjamin Kaplan <benjamin.kaplan@case.edu>
Date2012-07-07 22:10 -0700
SubjectRe: how to compile pygtk in python2.7?
Message-ID<mailman.1907.1341724615.4697.python-list@python.org>
On Sat, Jul 7, 2012 at 9:47 PM, contro opinion <contropinion@gmail.com> wrote:
> 1.download  pygtk
>
> 2.cd /home/tiger/pygtk-2.24.0
>
> 3.PYTHON=/usr/bin/python2.7  ./configure --prefix=/usr
> 4. make
> 5. make install
>
> tiger@ocean:~$ python2.7
> Python 2.7.3 (default, Jul  1 2012, 14:13:18)
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import gtk
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named gtk
>>>>
>
>  i can't compile pygtk in python2.7,how to compile it?
>
> --

What is the output of make and make install? Does it compile
successfully, or is there an error? Does the current user have
permission to write to /usr?

You haven't given us enough information to figure out what's going on?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web