Search code examples
jythonsetuptoolseasy-installjython-2.5

Jython easy_install error


My purpose to add some python libraries to jython i.e suds package

To do this tried to follow the instruction from http://www.jython.org/jythonbook/en/1.0/appendixA.html#setuptools

and also checked;

How can I install various Python libraries in Jython?

Installed Jython 2.5.2 and added JYTHON_HOME=C:\jyhon252 to environment variables and %JYTHON_HOME%\bin to path jython is working fine.

As second step tried to install easy_install on top of Jython 2.5.2

got ez_setup.py from;

http://peak.telecommunity.com/dist/ez_setup.py

Tried to install ez_setup.py and got following error that I couldnt find any clue how to solve it. same thing happening with Jython 2.5.3 also.

C:\tmp\ez_setup>jython ez_setup.py

Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c11-py2.5.egg

Processing setuptools-0.6c11-py2.5.egg

Removing c:\jython252\lib\site-packages\setuptools-0.6c11-py2.5.egg

Copying setuptools-0.6c11-py2.5.egg to c:\jython252\lib\site-packages

error: c:\jython252\lib\site-packages\setuptools-0.6c11-py2.5.egg: Unknown error: 20047

I had Windows 7 64bit OS and 32 Bit jre 1.6.0_38 available on my device.

Does anyone have any idea how I can solve this? May I missing some thing ?

Thanks in advance..


Solution

  • It was because of windows 7, just use another OS.