[1.1.0] problems trying to use jpype from Python
After running next on Mac OS 10.10.3 error appeared:
Can this be solved?
Thanks
import sys
from jpype import *
def startJVM1():
JVM = getDefaultJVMPath()
startJVM(JVM, '-ea',"
java.
sikuli = JPackage(
login_
window = sikuli.Screen()
window.
shutdownJVM()
if __name__ == "__main__":
startJVM1()
[error] Can't initialize global Robot for Mouse: headless environment
[error] ***** Terminating SikuliX after a fatal error 999 *****
It makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
Traceback (most recent call last):
File "/Users/
startJVM1()
File "/Users/
window = sikuli.Screen()
File "/Library/
raise TypeError("Package {0} is not Callable"
TypeError: Package org.sikuli.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: