sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50555
Re: [Question #678543]: Import Sikuli in a project with an existing Interpreter
Question #678543 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678543
Description changed to:
Hi,
I have an existing project using a custom interpreter, is there a way to
import Sikuli without changing interpreter in my main project?
Things I've done:
-I am using PyCharm and have successfully run a Sikuli script inside.
-I tried making a separate project with sikuli scripts (named
sikuli_action) and importing that project as a module in my main, but
the interpreter of my main is preventing the Sikuli module imported to
run
-To further clarify, I am tasked in writing an automation script for
testing of an ongoing desktop app development.
-also, I am new to Python Programing
ImportError while importing test module '<project_path>\main.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
main:33: in <module>
import sikulix_action
..\..\..\SikuliX\sikulix_action.py:1: in <module>
import org.sikuli.script.SikulixForJython
E ModuleNotFoundError: No module named 'org'
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.