how to compile pygtk in python2.7?

contro opinion contropinion at gmail.com
Sun Jul 8 10:26:14 CEST 2012


it's so strange
 when i input
hisroty

  506  cd  /home/tiger/pygtk-2.24.0
  507  PYTHON=/usr/local/bin/python2.7  ./configure --prefix=/usr
  508  echo  $?     #i get  0  ,it means  success??
  509  make
  510  echo  $?      #i get  0  ,it means  success??
  511  make install
  512  echo  $?        #i get  0  ,it means  success??

no wrong output  can  see .

root at 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
>>>



2012/7/8 Chris Angelico <rosuav at gmail.com>

> On Sun, Jul 8, 2012 at 2:47 PM, contro opinion <contropinion at gmail.com>
> wrote:
> > 3.PYTHON=/usr/bin/python2.7  ./configure --prefix=/usr
> > 4. make
> > 5. make install
>
> What happened when you typed these commands? Were there failure
> messages? As Benjamine suggested, do you need to become root to
> install?
>
> ChrisA
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120708/282ec042/attachment.html>


More information about the Python-list mailing list