Closed zwl1619 closed 7 months ago
Hey there - are you sure you've downloaded the entire project? The Scripts
folder is certainly present in this repo - and that's what it's stating it cannot find.
-CorpNewt
@corpnewt
Yes, I downloaded the entire project, and there is a discussion:
https://stackoverflow.com/questions/16981921/relative-imports-in-python-3
but I haven't solved this issue yet.
That discussion is for relative imports in the same directory - but suggests that the setup being used with SSDTTime currently should work. Your original error is stating that the Scripts
folder itself cannot be found:
from Scripts import downloader, dsdt, plist, reveal, run, utils
ModuleNotFoundError: No module named 'Scripts'
Rather than a relative import error:
ImportError: attempted relative import with no known parent package
You did mention that it was run as administrator - does it work as a standard user? I run Window 10 and simply launching via the SSDTTime.bat starter works fine locally.
-CorpNewt
I reinstall python with Windows installer (64-bit)
instead of Windows embeddable package (64-bit)
, it is ok now.
I ran
SSDTTime.bat
with administrator on windows 11, there is an error: