Closed RexWzh closed 1 month ago
Thanks for reporting this. Would you mind submit a PR?
It should be fairly easy to support Windows, though I have never tested it on Windows. The os.geteuid()
is not no longer needed, and I just removed it from the main
branch. It was there only for historically reasons.
Description
Failed to load
lean_dojo
in window, due to the regex rule for git string.Detailed Steps to Reproduce the Behavior
Logs in Debug Mode Set the environment variable
VERBOSE=1
and paste the logs here.Platform Information
The regex in
check_git_version
Fix version:
Not sure if the project is planning to support Windows systems. There seems to be other issues, such as the use of
os.geteuid()
which only functions on Unix-like systems.https://github.com/lean-dojo/LeanDojo/blob/2ff92a470550cb3d294448c18ee9c72f87392aef/src/lean_dojo/__init__.py#L32