Does reload(module) is bugged in 2.0.6 java17 on Win11?
H all,
I'v updated Sikuli from 1.0.1 to 2.0.6 (sikulixidewin-
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: reload() argument must be a module
[error] IDE: Run Script: internal error:
I lurked alot on sikuli sites and python reload module sites but nothing worked
Main:
#had this
import sub
reload(sub)
from sub import *
#have only this one below now, coz figured out that this works the same as above one and give the same error. Sub script is working on both
from sub import *
Sub:
from sikuli import *
use() #need to be here in Win11, found here on forum - Thank You RaiMan for that workaround :)
but tried dozens diffrent ways from python and sikuli sites like...
import imp
imp.reload(sub)
from sub import *
or
import sys # i know dont have to coz red that its imported by default
import importlib
importlib.
and many more... spent a lot of time on that withous succeed. Somebody tried 2.0.6 on java17 and Windows 11 setup?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Adrian for more information if necessary.