Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to Install Google Data API on the Nokia N800 Internet Tablet

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Article
Created: felipepontes (19 Feb 2009)
Last edited: lpvalente (13 Apr 2013)

Overview

Installing the Python library of Google Data API [1] using distutils package [2] is a straightforward proccess on a PC. However, the Python installation on N800 maemo is different than on PC. This raises an error when you try install the API on N800 using distutils:


distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)


To solve this problem connect as superuser via ssh into N800 and execute the following commands:


apt-get install python2.5 python2.5-dev python2.5-xml

mkdir /usr/lib/python2.5/config/

echo "" > /usr/lib/python2.5/config/Makefile

mkdir /usr/include/python2.5

echo "" > /usr/include/python2.5/pyconfig.h

tar xvzf gdata.py-1.2.4.tar.gz

cd gdata.py-1.2.4

./setup.py install

./tests/run_data_tests.py

...

Ran 16 tests in 0.922s

OK

Running all tests in module gdata_tests.blogger_test

......

----------------------------------------------------------------------

Ran 6 tests in 0.095s

OK

Running all tests in module gdata_tests.webmastertools_test

.............................

----------------------------------------------------------------------

Ran 29 tests in 0.623s

OK


Now you are ready to implement N800 applications using the Python library of Google Data API.

You may find more posts about this topic at: http://mobility4you-en.blogspot.com.

This page was last modified on 13 April 2013, at 21:33.
41 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×