debugging Sikuli in Pycharm
Hi all,
I'm using Sikuli 1.0.1 on Windows7 with Java7 and Pycharm as IDE for debugging.
For that I :
- installed jython2.5.3 and used it as Pycharm Jython interpreter
- extracted from sikuli-ide.jar the folder Lib\sikuli and added it to the sys.path.
- added the C:/apps/
Thanks to that, I could run successfully some Sikuli scripts like this :
from sikuli import *
result = find("myImage.png")
result.highlight(3)
Now, I wanted to use the Pycharm debug but, for the same script, I got the following error :
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains
debugger.
File "C:\Program Files (x86)\JetBrains
pydev_
File "C:/Users/
from sikuli import *
File "C:\jython2.
from Sikuli import *
File "C:\jython2.
import __main__
ImportError: No module named __main__
No Idea of what this module __main__ is ....
The problem raises when I execute the "from sikuli import *" in debugging => I guess it is not a generic debug problem but something to do with the Sikuli import.
Could someone help me please ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- rod
- Solved:
- Last query:
- Last reply: