When starting to learn Python and Django, my goal was to set up a robust development environment similar to what we use at National Priorities Project: isolated virtual environments, MySQL, and tools like pip and iPython. Stubbornly, I resolved to make it all work on Windows.
I achieved the goal, but not without a lot pain. If you’re a Windows user getting started with Python/Django, you might have an easier time installing a virtual Linux machine.
Here’s a re-cap of the Windows-specific instructions for installing Python, Django, MySQL, and a few necessary packages and tools.
- Part 1: installing Python, Pip, and iPython
- Part 2: virtual environments
- Part 3: making iPython recognize virtual environments
- Part 4: installing Django
- Part 5: installing MySQL
- I abandoned the Cygwin approach after running into trouble with Cygwin’s Python install vs the Windows Python install.
- People have good things to say about ActivePython as a tool to help Python developers to avoid headaches.