Error Installing pip & easy_install for Python 2.7 on Win 64

I’ve been doing some messing around with Python, boto and AWS api’s recently (blog article to follow). To allow me to get the boto library installed on Win I took the pip & easy_install route.

At this point in time just ignore the fact that even though pip was meant to replace easy_install. The easiest way to install pip is still through the use of easy_install! confused? you’re not the only one.

Unfortunately there is a small bug in the install routines for the setuptools.msi. As you can imagine theres not much in the way of docs and I also struck a blank on the community forums (queue the inevitable ‘why use windows?’ replies)

If you try to run the setuptools.msi routine on Win 64 you’ll get the following error “Python version 2.7 is required, which was not found in the registry” all thats happening is that it’s actually looking in the wrong reg key location:

copy the registry entry value for InstallPath from:




It should now work. [Read more…]

Compiling subversion 1.7.1 from source with SSL

If you need to install Subversion 1.7.1 to a server with SSL support, here’s a quick routine to get that done.

Download the latest version
cd /usr/local/src
tar -zxvf subversion-1.7.1.tar.gz
cd subversion-1.7.1

Use the in-built script to download the required dependencies, and configure neon for SSL
cd /neon/
./configure --with-ssl
make install
cd ..

Download and install the required sqlite3.c
tar xvzf sqlite-amalgamation-
mkdir /sqlite-amalgamation/
cp sqlite- /usr/local/src/subversion-1.7.1/sqlite-amalgamation/

Configure & make Subversion
./configure --with-neon=/usr/lib64/
make install

if you’ve used default install locations, add to path
export PATH=$PATH:/usr/local/bin

Find the 10 largest files

Useful command, if you ever need to, and if you admin Linux you might have to more often than you want to, find the 10 largest files on disk!

$find / -type f -exec du {} \; 2>/dev/null | sort -n | tail -n 10 | xargs -n 1 du -h 2>/dev/null

and thats it!