Unable to run the sikuli code on pycharm

Asked by Mehrunisa on 2018-03-20

I am trying to run the sikuli code on pycharm
I am getting the following error :
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm 2017.3.4\helpers\pydev\pydev_run_in_console.py", line 7, in <module>
    from pydevconsole import do_exit, InterpreterInterface, process_exec_queue, start_console_server, init_set_return_control_back, \
  File "C:\Program Files\JetBrains\PyCharm 2017.3.4\helpers\pydev\pydevconsole.py", line 4, in <module>
    from _pydev_imps._pydev_saved_modules import thread
  File "C:\Program Files\JetBrains\PyCharm 2017.3.4\helpers\pydev\_pydev_imps\_pydev_saved_modules.py", line 4, in <module>
    import threading
  File "C:\Users\mariah\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

I have the pycharm version 2017.3.4
Sikuli version 1.1.2
Running on windows 10

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-20
Last reply:
2018-03-20
Mehrunisa (mehrunisa8828) said : #1

https://answers.launchpad.net/sikuli/+question/666794

Carried out above steps but still unable to run the script

RaiMan (raimund-hocke) said : #2

looks like a clash on sys.path

Check your setup and the way you are running the script.

Can you help with this problem?

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

To post a message you must log in.