Hustle Play
Syd's blog.
Installing an EGG (.egg) file with Windows XP
Posted by on February 17, 2010
I recently had to install the simplejson package on my Windows XP machine and when I downloaded the package from the website, I was surprised to see that the package had an .egg extension. Some Googling got me to where I knew I needed to use easy_install to perform the installation.
I have used easy_install in the past, but it was on a Apple Mac OSX platform, so the instructions were of little help. Here is how I installed the EGG file.
- Download & Install setuptools
- Configure your PATH variable to include
C:\Python25\Scripts\- Right-click on My Computer
- Select Properties
- Select the Advanced tab
- Click on the Environment Variables button
- In User Variables, select PATH, then click Edit
- Add “;C:\Python25\Scripts\” to the end of the current value
- Click OK in the Edit User Variable window
- Click OK in the Environment Variables window
- Click OK in the System Properties window
- Open a new Command Prompt
- Run
easy_install path\to\simplejson-2.0.9-py2.5-win32.egg
That’s it.
Reference(s):