Latest Post

Mac OS X Lion: Install the Python Image Library (PIL)

First make sure you have lib jpeg install for JPEG handling 123456$ curl -O http://www.ijg.org/files/jpegsrc.v8c.tar.gz $ tar zxvf jpegsrc.v8c.tar.gz $ cd jpeg-8c/ $ ./configure $ make $ sudo make install Then I use pip to install PIL 1$ sudo pip [...]

osx-lion-python-django

Mac OS X Lion: The perfect setup for Python / Django

If like me, you are developing Django applications on a Mac, you will probably face a few issues when upgrading to Lion. In my case, I haven’t even upgraded, I decided to wipe it all out and start from a [...]

Ubuntu 9.10: Install PIL in Virtualenv

Re-blogged from Eddie Welker I started with a –no-site-packages virtualenv, so as not to use (or more  importantly depend) on any of the global site-packages.  Ok, cool. 1$ virtualenv –no-site-packages myEnv First, I needed to install the python developer tools. [...]

Python – Virtualenv – Modwsgi – Django on Rackspace cloud server running Ubuntu 10

Install Virtualenv: 1apt-get install python-virtualenv Install Apache mod_wsgi: 1apt-get install libapache2-mod-wsgi Create a folder called pythonenv under /usr/local/, then go to it: 12mkdir /usr/local/pythonenv cd /usr/local/pythonenv Create the virtrual env: 1virtualenv –no-site-packages Download and Install Django, and copy it to [...]