PDA

View Full Version : Python installation troubles?


YoDude
07-08-2007, 07:35 AM
Go here >> http://pymaemo.garage.maemo.org/installation.html for instructions and installs.


Installation
Warning: It is necessary to remove ALL applications that depends on Python2.4 BEFORE you remove python2.4-runtime. This is necessary to ensure that all python2.4 packages will be correctly removed.

To perform automatic installation install first Base repository and then Python runtime.


OR;


Manual Installation
Warning: It is necessary to remove ALL applications that depends on Python2.4 BEFORE you remove python2.4-runtime. This is necessary to ensure that all python2.4 packages will be correctly removed.

Follow these steps:

Open the Application manager (in Tools menu).

Open its Application catalogue (inside Tools, on the application's menu).

Add the following repositories:

Name: Maemo
Web address: http://repository.maemo.org
Distribution: bora
Components: free non-free

Name: Maemo Extras
Web address: http://repository.maemo.org/extras
Distribution: bora
Components: free non-free

Refresh package list.

Install python2.5-runtime package, which will automatically pull all available Python bindings, but not the development packages.

Note that if you're using Maemo 2.x series you have to replace bora by the appropriate distribution name. Either scirocco (2.1) or gregale (2.2).

whatmeworry
07-10-2007, 07:32 AM
I'm having the exact same problem and have tried installing Python 2.5 a number of times.
The message I get is:

Packages missing
osso-thumbnail0 = 0.5-1fix

Any help in rectifying this would be really appreciated.

YoDude
07-10-2007, 07:41 AM
If you didn't follow the instuctions linked to in the above post... I can't begin to help you. Your post does not indicate where in the process you are having problems.

I followed them and had no (zero, nada, nyet) problems installing Python 2.5

whatmeworry
07-10-2007, 07:48 AM
Sorry, yes I did follow the instructions above.

I am running OS2006 on a 770 (not sure if that makes any difference - I'm new to all this).

*edit* Some more info:
I've checked my catalogue list and I have repository.maemo.org and repository.maemo.org/extras for bora, scirocco and gregale.

When I try to install the package it does not download it again (presumably because it has already done so). Is there some way to remove the downloaded package and re-download it? I'm wondering if that may cure the problem.

Thanks for your help.

albson
07-10-2007, 09:09 AM
I have also trouble but with libblutooth1 ?

Is there ideas on this subject ?:confused:

whatmeworry
07-10-2007, 10:07 AM
Okay, finally got it to work. If anyone else is still having trouble this is what I did.
Removed all the application catalogues for repository.maemo.org and r.m.o/extras except the gregale ones (as I'm running gregale).
Reinstalled Python 2.5. This time I got a different error message saying it was not successfully installed.
In xterm as root I ran:
dpkg --purge python2.5-runtime
then
apt-get install -f
I then went back to application manager and reinstalled Python 2.5 (the size of which was now showing as 1kb!) and it installed successfully.

elpaso
07-11-2007, 03:06 AM
Hi,

I've tried all suggestions but I'm unable to install python2.5-runtime on the latest n800 fw.

This get a 404:
http://repository.maemo.org/pool/maemo2.0/free/b/bluez-libs/libbluetooth1_2.25-cvs20060428_armel.deb

Anybody that has successfully installed python2.5-runtime with latest n800 can please post the output of

#apt-cache policy libbluetooth1

thanks

albson
07-11-2007, 03:13 AM
I fixe this issue by putting in application installer:
- Name : Mistral
- add : http://repository.maemo.or
- distribution : mistral
- composants : free ( sorry it is in french )

but now i have this error raised at the end of install:
:confused: Download impossible Cannot find Application

but it download the full package first and after the message is displayed.

any idea ?

albson
07-11-2007, 03:15 AM
read - add : http://repository.maemo.org and not - add : http://repository.maemo.or

Frankowitz
07-26-2007, 05:31 AM
Maybe someone mentioned it before (sorry):

When you use Privoxy on your tablet, Python won't install. 'Cannot download' error.

Disable (and remove! Maemo proxy bug!) the proxy settings and try again.

:)

loki
07-30-2007, 10:40 AM
i also had the "cannot download"-error, no privoxy, firewall or proxys at all.

it seems that the nokia package-manager has some problems after installing various packages (i am not sure, which ones cause the troubles).

but console installation worked for me. apt-get don't seems to have the troubles with the missing packages.

1) make sure to have the right repository in your sources.list. for example:
deb http://repository.maemo.org bora free non-free

2) update package-information (must be run as root)
apt-get update

3) install python (must be run as root, too)
apt-get install python2.5-runtime

tahiti98718
01-04-2008, 10:03 PM
The above method worked for me. I was trying to install pymaemo for 2 days now. Thank you.

Seem to install better with the command line !!