Main index > Installation problems > Python errors in Ubuntu 5.10 [CLOSED]

By fritz_monroe (User), on Sun Jan 8 11:48:56 2006: Python errors in Ubuntu 5.10 [CLOSED].

I've just loaded Ubuntu onto my laptop and am trying to install adesklets. I have Python 2.4 loaded, but when installing, I received an error that it can't finde the include. I found that the --with-python-force-detection switch doesn't fix the problem. I saw that the configure script was looking for /usr/include/python, but system doesn't have this, so I created a symbolic link pointing to python2.4 directory and now it's past that point, but now I'm getting another error. When I run configure, I get this:

Code:

checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for Python include path...
configure: error: cannot find Python include path



Any suggestions? I do still consider myself a newbie to Linux, so, please forgive any ignorance in advance.

F_M

<edit> Forgot to mention that I found the previous message about problems installing to Debian. I ran the script provided and received the following:

Code:

Initial path: /usr
Current path: 
Current path: 
Current path: 
Final path: 
Treated final path: 
cannot find Python include path

By syfou (Core Developer & Desklet Author), on Wed Jan 18 09:52:24 2006.

Just an educated guess, but this is most likely similar to this -- do you have the Python headers installed?

Alternatively, keep in mind you have the latest of adesklets available in universe thanks to Debian. Yours,


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.