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

Read :- https://answers.launchpad.net/sikuli/+question/293519

Attempting to setup PyCharm

Project :-
popup("hello world")
Checked 
Preferences >
   Build,Execution,Deployment >
      Console >
         Python Console
                  Environment variables : 
CLASSPATH=/Applications/Sikuli/sikulixapi.jar
                  Python interpretor : Jython 2.7


Result
/Users/Jeff/jython2.7.0/bin/jython 
-Dpython.path=/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli 
/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli/Hello.py
Traceback (most recent call last):
  File "/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli/Hello.py", line 1, in 
<module>
    popup("Hello World")
NameError: name 'popup' is not defined

Process finished with exit code 255

Changed Code to:
import org.sikuli.script.SikulixForJython
from sikuli import *
popup("hello world")

Result
/Users/Jeff/jython2.7.0/bin/jython 
-Dpython.path=/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli 
/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli/Hello.py
Traceback (most recent call last):
  File "/Users/Jeff/Desktop/PyCharm/Sikulix/Hello.sikuli/Hello.py", line 1, in 
<module>
    import org.sikuli.script.SikulixForJython
ImportError: No module named sikuli

Process finished with exit code 255

searched my machine
SikulixForJython does not exist as a file
searched for TEXT my machine
SikulixForJython found in
/Applications/Sikuli/sikulixsetup-1.1.1.jar
/Applications/Sikuli/sikulixapi.jar

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to