解决:Elipse配置Jython Interpreters时报错Error: Python stdlib source files not found

阅读 56

2022-07-12

今天学习lynnLi的博客monkeyrunner之eclipse中运行monkeyrunner脚本之环境搭建(四)时,遇到了一个问题,即:

解决:Elipse配置Jython Interpreters时报错Error: Python stdlib source files not found_jar

​​l​​ynnLi给出的解决办法是:将Python下的Lib拷贝到sdk中jython-standalone-2.5.3.jar所在目录tools\lib,再次New一个Jython,添加jython-standalone-2.5.3.jar路径即可

解决:Elipse配置Jython Interpreters时报错Error: Python stdlib source files not found_python_02

但是这样尝试,又报错了:

解决:Elipse配置Jython Interpreters时报错Error: Python stdlib source files not found_eclipse_03

后来借鉴了​​这篇文章​​的做法,成功配置Jython Interpreters:

解决:Elipse配置Jython Interpreters时报错Error: Python stdlib source files not found_python_04

将\sdk\tools\lib下的jython-standalone-2.5.3.jar解压到当前目录,然后将解压文件夹下的Lib拷贝到jython-standalone-2.5.3.jar所在的目录,再次去Window-preferences-PyDev-Python Interpreters中配置即可。


精彩评论(0)

0 0 举报