PyGTK - Not Found

Jason Swails jason.swails at gmail.com
Sat May 21 06:53:36 PDT 2011


Did you install the python 2.7 GTK?  That is, py27-gtk?  My guess is that it
installed to a different python than the one you're trying to use.  It could
also be that Nicotine forces python2.6 (i.e., is there a /usr/bin/env
python2.6 on the #! lines?).

To test that your GTK installed correctly, just launch the python
interpreter and try to import the package. (import gtk).

HTH,
Jason

On Sat, May 21, 2011 at 9:45 AM, Zuzubot <zuzubot at gmail.com> wrote:

> Hi again folks,
>
> Well, I posted a message a while ago about installing Python GTK and I am
> pleased to report that I got it installed without any problems.
>
> The reason I wanted to install this was to run a P2P program called
> Nicotine +.  I downloaded Nicotine +, using SVN Checkout, and when I went to
> run it I get this message:
>
> Can not find required PyGTK. The current search path is
> ['/Users/user/nicotine+',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages']
> Exception: No module named pygtk
>
> This is strange because I definitely do have Python GTK installed......
>
> Can anyone help me here please?
>
> Thanks again!
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>


-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110521/f90bcc08/attachment.html>


More information about the macports-users mailing list