wcyang
April 7th, 2011, 04:06 PM
How can I compile PyGTK for a compiled version of Python?
In the past, I may have compiled the following version of Python:
/usr/local/bin/python2.6
I tried compiling PyGTK using "configure, make, sudo make install.'
When I ran the above version of Python and typed "import pygtk", the following message appeared:
ImportError: No module named pygtk
When I typed "python2.6 setup.py build", the following message appeared:
************************************************** ******************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
************************************************** ******************
The INSTALL file talks about "./configure; make; make install."
Do I need to change some options for "configure?"
In the past, I may have compiled the following version of Python:
/usr/local/bin/python2.6
I tried compiling PyGTK using "configure, make, sudo make install.'
When I ran the above version of Python and typed "import pygtk", the following message appeared:
ImportError: No module named pygtk
When I typed "python2.6 setup.py build", the following message appeared:
************************************************** ******************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
************************************************** ******************
The INSTALL file talks about "./configure; make; make install."
Do I need to change some options for "configure?"