Posts Tagged ‘ubuntu’

Python2.6 with mod_python in debian

Thursday, January 15th, 2009

As you may know, there are no packages yet for Python2.6 in debian or ubuntu. If you want to install it you can do it by hand and it will work perfectly (it did for me)

Google a bit and you will find this post: http://blog.pythonaro.com/2008/10/horrible-hack-to-get-python-26-on.html

You can follow the steps in the post without problem, then remember to update your supported and default versions under /usr/share/pyhton/debian_defaults

Also you can link modules available in 2.5 to be used by 2.6, for example Ipython, it works perfectly. Do symlinks from python2.6/site_packages/ pointing python2.5/site_packages. Although this is not the correct way, the correct way should be reinstall those modules under your new configuration.

But what about mod_python? it still remains to Python2.5 right? YES

Well, you have to do the same, download it from modpython.org and make and make install, be sure to install apache2-dev it will provide you with a tool needed in the compilation time.

All should work, also django is working perfectly in my new Python & mod_python 2.6 conf. under debian.

cheers!

Amarok & Exaile deception

Saturday, April 5th, 2008

Now that I have one of those speaker systems 5.1 connected via usb, a fast acquisition until I bought a real amplifier. Well I’ve connected it on my laptop and of course it works under ubuntu but … Amarok does not detects well the device, although it detected once, but never again :(
I’ve searched for another player *with* equalizer and installed Exaile, seems that it is written in python but I think it doesn’t follow at all python phylosophy, It is very complicated, too things, queue, playlist, list of files in folder, Aaaah! One thing is quite good: tagging, but difficult to understand its interface and a bit broken. And on my system, something is broken in the music library, I’m getting this pretty WTF window: