Installed Jython 2.7.0 - Standalone Jar, and now none of my scripts are running

Asked by Ali Ahmed on 2021-01-14

I'm using sikulixide-2.0.4 and I following this instruction online to get xlrd , anyways it said to install jython 2.7 standalone jar and now my test scripts are no longer running. This is the error message I am getting:

Exception in thread "Thread-40" Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ali.ahmed\AppData\Roaming\Sikulix\Lib\sikuli\__init__.py", line 3, in <module>
    from Sikuli import *
  File "C:\Users\ali.ahmed\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 16, in <module>
    import inspect
  File "C:\Users\ali.ahmed\AppData\Roaming\Sikulix\Lib\inspect.py", line 38, in <module>
    import imp
  File "C:\Users\ali.ahmed\AppData\Roaming\Sikulix\Lib\imp.py", line 3, in <module>
    from _imp import (C_BUILTIN, C_EXTENSION, IMP_HOOK, PKG_DIRECTORY, PY_COMPILED, PY_FROZEN, PY_SOURCE,
ImportError: cannot import name makeCompiledFilename

Can you help me?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

according to https://raiman.github.io/SikuliX1/downloads.html

it must be Jython 2.7.1 and done so (as mentioned there)

Download what you prefer or both to the same folder as you have your sikulix.jar.
They will be recognized by SikuliX at the next start and moved to the SikuliX's extension folder.
So preferably download before using the IDE the first time.

In your case, you should first completely delete:
C:\Users\ali.ahmed\AppData\Roaming\Sikulix

before starting agin.

Can you help with this problem?

Provide an answer of your own, or ask Ali Ahmed for more information if necessary.

To post a message you must log in.