← Back to team overview

sikuli-driver team mailing list archive

[Question #155881]: "no attribute 'getEnviron'" reported when trying execute a script in eclipse 3.6 32bit

 

New question #155881 on Sikuli:
https://answers.launchpad.net/sikuli/+question/155881

I've read the instruction - http://sikuli.org/docx/faq/040-other-ide.html and did it step by step, but when I run the first script, I still get the error message:

*sys-package-mgr*: processing new jar, 'C:\Program Files (x86)\Sikuli X\sikuli-script.jar'
error importing site
Traceback (most recent call last):
  File "C:\Program Files (x86)\Sikuli X\Lib\site.py", line 62, in <module>
    import os
  File "C:\Program Files (x86)\Sikuli X\Lib\os.py", line 904, in <module>
    environ = sys.getEnviron()
AttributeError: '<reflected field public org.python.core.PyObject o' object has no attribute 'getEnviron'

My environment:
C:\\Downloads>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

C:\Downloads>jython -V
Jython 2.5.2

eclipse 3.6 32bit

Thanks.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.