Cannot load dll
MrSassyBritches opened this issue · 1 comments
MrSassyBritches commented
OS: Windows 10
Sciter: v4.4.8.0 (JS)
Pysciter: v0.5.1
Path to Sciter-SDK: %USERPROFILE%\.sciter
(this is the exact string in my User-PATH variable.
Hello! I am unable to get my sciter app to run. I have downloaded and unzipped the Sciter-JS-SDK to the location mentioned above. I have also added this to my User Path in the enviroment variables just I like I have done with Python, Rust, Go, Chocolatey, etc... But I cannot run my application.
import sciter
if __name__ == "__main__":
sciter.runtime_features(file_io=True, allow_sysinfo=True)
frame = sciter.Window(ismain=True, uni_theme=True)
frame.load_file("index.html")
frame.run_app()
This gives me the error:
ImportError: sciter.dll was not found in PATH.
Please verify that Sciter SDK is installed and its binaries (SDK/bin, bin.osx or bin.gtk) are available in the path.
'sciter': Could not find module 'sciter' (or one of its dependencies). Try using the full path with constructor syntax.
'sciter64.dll': Could not find module 'sciter64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
I have done things like:
- copy/paste
sciter.dll
tosciter64.dll
so both are in the path. - installed PythonNet and pywin32 as these are common to need for Windows development.
- Add
sciter.dll
andsciter64.dll
to my root project directory, virtual environment, System PATH, and even just into myC:
directory. - I have also done ALL of the above with the Sciter-TI-SDK. I did this because the last time I successfully ran a PySciter project I used TI Script several years ago.
So...
- In case I have my path configured incorrectly, what does YOURS look like so I can try to fix mine.
- Does PySciter know or care if I use the JS or TI SDK? Should I use a specific version of the SDK?
- Are there dependencies I should be aware of that I happen to have missed when reading the setup documentation for either Sciter and/or PySciter?
Any help or insight into this matter would be greatly appreciated, thank you :)
8ctopus commented
I had the same issue and fixed it by using the 64 bit sciter.dll
.