A friend having issues installing Pylons on Windows XP with Python 2.6 gave me the idea to do this quick write up. So here it is, the 6 step method for running Pylons on Windows XP.
- Download Python.
- Add Python to your path and launch a command prompt.
- Download ez_setup.py, python ez_setup.py
- Download simplejson, python setup.py –without-speedups install
- easy_install Pylons
- easy_install formbuild
- Do a quick test; paster create –template=pylons
And that is all she wrote. Pretty easy. The reason we install simplejson seperate is because the default behavior is to build with speedups and well .. by default, that behavior won’t work on a standard Windows XP machine. So we install it seperate to avoid any conflicts.
Pratik says:
Thanks for saving me some hours of frustration! One typo though; its ‘–without-speedups install’. There is an extra hyphen (-).
18 Nov 2008, 00:51Pratik says:
Nevermind. I guess that’s how it shows on your page.
18 Nov 2008, 00:52iongion says:
The last one, with paster, is it with double “-” ? as in:
paster create -–template=pylons
if i do this, it shows me:
paster create –template=pylons
Usage: D:\server\Python25\Scripts\paster-script.py create [options] PACKAGE_NAME [VAR=VALUE VAR2=VALUE2 ...]
Create the file layout for a Python distribution
D:\server\Python25\Scripts\paster-script.py create: error: no such option: -û
What can I do ?
28 Apr 2009, 14:02