Wednesday, November 25, 2009

Installing MySQLdb for python 2.6 in Windows xp

           Anybody trying to use python 2.6 and MySQL may have found that there is no package for connecting them both.. but for python 2.5 MySQLdb installer is available but not for 2.6. Though the installer for python 2.5 claims to work with python 2.6 in the download page but when we try to install with python 2.6 the installation stops giving a message that "Python 2.5 was not found". So i set out to find whether anyone has made a binary for python 2.6 for windows but was unsuccessfull intialy but i found out that you can download the sourcecode and compile and install them using MS Visual Studio but it turn out to be a pain in the neck.
            Later, while i was frustrated by the errors, i came upon a blog which gave a binary which we can install directly with no hassles... it was compiled by someone in windows and posted it so that others can benefit. Click to download MySQLdb for Python 2.6 Windows XP installer.

Tuesday, November 24, 2009

Installing Opencv for Python2.6 in Ubuntu9.04

Many who are trying to install python-opencv in ubuntu 9.04 may have found that the highgui part of opencv is not working that means no video capture from camera or video recording so the whole purpose of installing opencv(open Computer Vision) is lost. so i googled how to install the latest version and found the following

I am giving few simple steps to install latest opencv package for python 2.6 in ubuntu 9.04. There are two ways to install latest opencv:

1. Go to thesvn co link here and download the tarball installation
                                  or
2. Open a terminal and type the following commands
    a. type this in terminal "svn co https://code.ros.org/svn/opencv/trunk"
    b. cd trunk
    c. ./configure
    d. make
    e. make install

Tuesday, October 20, 2009

About me

hi everyone my name is Neeraj PN. i am a software engineer working for MobME Wireless Solutions (P) Ltd. and i will be using this blog to publish my thoughts and info that might be useful for someone else.....