Thursday, March 12, 2009

installing Python2.6 in ubuntu and fix dependency problems

http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html

I thought that's all, however I get an error message like this:

Failed to find the necessary bits to build these modules:
_hashlib _ssl bsddb185
bz2 gdbm readline
sunaudiodev
----------------------------------------------------------------------------
apt-get build-dep python2.5
make

Failed to find the necessary bits to build these modules:
bsddb185 sunaudiodev
---------------------------------------------------------
download patch

patch -p1 < python2.6-disable-old-modules.patch
make
sudo make install

1 comment:

atlas245 said...

I thought the post made some good points on web scrapers, I use python for simple web scrapers, data extraction can be a time consuming process but for larger projects like the web, files, or documents i tried "web scrapers" which worked great, they build quick custom screen scrapers, web scrapers, and data parsing programs