Import error : Errors in loading sikuli module
Hi All,
I am a beginner in python and sikuli. Please help me with the issue.
/SikuliFramewor
#######
import csv
import os
from ImageDictionary import TestImgDict
def readcsvfile():
try :
except IOError:
def Actions(
obj = TestImgDict()
return{
readcsvfile()
/SikuliFramewor
#######
Class TestImgDict(
ImgDict = {}
def __init__(self)
def getImage(self, name, img):
Error Message:
[Error] stopped
[Error] An error occurs at Line 3
[Error] Error Message:
Traceback (most recent call last):
File "/tmp/sikuli-
from ImageDictionary import TestImgDict
File "/usr/share/
return self._load_
File "/usr/share/
raise ImportError("Errors in loading sikuli module:%s \n%s\n" - HOW TO FIX\ Try adding \"from sikuli import*\" in the module .\n" %(fullname, e))
ImportError : Errors in loading sikuli module: ImageDictionary
mismatched input '\n' expecting DEDENT (ImageDictiomna
-How TO fix? Try adding "from sikuli import *" in the module.
I am using Sikuli x-1.0rc3 and in linux debian jessi.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Varun Palani