Jython easy_install错误 [英] Jython easy_install error
问题描述
我的目的是向jython添加一些python库,即suds包
My purpose to add some python libraries to jython i.e suds package
为此,请尝试遵循 http://上的说明www.jython.org/jythonbook/en/1.0/appendixA.html#setuptools
并进行了检查;
安装Jython 2.5.2,并将JYTHON_HOME = C:\ jyhon252添加到环境变量,并将%JYTHON_HOME%\ bin添加到路径 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.
第二步尝试在Jython 2.5.2之上安装easy_install
As second step tried to install easy_install on top of Jython 2.5.2
从那里获得ez_setup.py;
got ez_setup.py from;
http://peak.telecommunity.com/dist/ez_setup.py
试图安装ez_setup.py并遇到以下错误,我找不到任何解决方法. Jython 2.5.3也会发生同样的事情.
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
C:\tmp\ez_setup>jython ez_setup.py
下载 http://pypi .python.org/packages/2.5/s/setuptools/setuptools-0.6c11-py2.5.egg
处理setuptools-0.6c11-py2.5.egg
Processing setuptools-0.6c11-py2.5.egg
删除c:\ jython252 \ lib \ site-packages \ setuptools-0.6c11-py2.5.egg
Removing c:\jython252\lib\site-packages\setuptools-0.6c11-py2.5.egg
将setuptools-0.6c11-py2.5.egg复制到c:\ jython252 \ lib \ site-packages
Copying setuptools-0.6c11-py2.5.egg to c:\jython252\lib\site-packages
错误:c:\ jython252 \ lib \ site-packages \ setuptools-0.6c11-py2.5.egg:未知错误:20047
error: c:\jython252\lib\site-packages\setuptools-0.6c11-py2.5.egg: Unknown error: 20047
我的设备上装有Windows 7 64位操作系统和32位jre 1.6.0_38.
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 ?
先谢谢了.
推荐答案
这是因为Windows 7,所以请使用其他操作系统.
It was because of windows 7, just use another OS.
这篇关于Jython easy_install错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!