← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678873]: Exception in thread "main" ImportError: No module named __run__

 

Question #678873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678873

    Status: Needs information => Open

Theofanis Vlachos gave more information on the question:
I have version 1.1.2 so I went to File-> Export as runnable jar.

I also tried creating the script  using the command: java -jar
sikulixsetup-1.1.2-....jar scriptjar <path-to-your-script> and when I am
trying to run it I get a different error.

Exception in thread "main" Traceback (most recent call last):
  File "__pyclasspath__/__run__$py.class", line 2, in <module>
  File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\sikuli\__init__.py", line 6, in <module>
    from Sikuli import *
  File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 20, in <module>
    import subprocess
  File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\subprocess.py", line 400, in <module>
    import threading
  File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\threading.py", line 9, in <module>
    from _threading import Lock, RLock, Condition, _Lock, _RLock, _threads, _active, _jthread_to_pythread, _register_thread, _unregister_thread
ImportError: cannot import name _threads

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.