can't import modules
I have followed the instructions in the documentation but no matter what I do I can't import a custom module
Currently I have a folder with 2 sikuli scripts
libBroser.sikuli
test.sikuli
libBrowser has in the first line: from sikuli import * and two methods
my test.sikuli file only has "import libBrowser"
At this poing I want to clarify that I'm running mac Lion, both files are in the same folder, I have tried adding the path to the sys.path, I have all the alternatives that I found to add the folder to the path.
Also I tested the path doing popup(str(
But every time I try to run the script I get this:
[error] Stopped
[error] An error occurs at line 8
[error] Error message:
Traceback (most recent call last):
File "/var/folders/
import libBrowser
File "/Applications/
File "/Applications/
ImportError: No module named libBrowser
Any ideas? am I missing something?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jose Pablo Jimenez Velez
- Solved:
- Last query:
- Last reply: