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

in my sikuli file, I am importing a local python script like:

testing.sikuli
-----------------------
from guide import *
addImportPath("<path to lib>\Lib")
import preProcessLines
...

preProcessLines.py is in sikuli folder itself.  preProcessLines.py imports 
abbreviae like:

preProcessLines.py
------------------------------------
import re
from fuzzywuzzy import process, fuzz
from fuzzysearch import find_near_matches
import abbreviate
from datafile import *
import logging
import traceback

...

When running testing.sikuli, it throws "ImportError ( No module named 
abbreviate )". However in pythonwin inerpreter, it imports and I can test 
abbreviate functions. Here is the interpreter console output:
>>> import abbreviate
>>> abbr = abbreviate.Abbreviate()
>>> abbr
<abbreviate.Abbreviate object at 0x025CFCF0>
>>> 

What could be the issue?

-- 
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