-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git.util Failed checking if running in CYGWIN due to: FileNotFoundError(2, '系统找不到指定的文件。', None, 2, None) #113
Comments
please use any linux x64 |
|
have you solved this problem? |
I run it on ubuntu |
I had the same issue. Running with This should fix it: sudo ln -sv /usr/bin/uname $(which uname) |
I spent a tiny little bit more of research: git.util looks for the "git" command and gets its path. (Its probably the CYGWIN folder its looking for.) For the fix (the above proposal has seemingly the wrong order of arguments for 'ln' anyways. it is <existing_target> <new_link_name>) this might serve you - at least in principle:
some(!) code reference - see about Line 405: https://www.atlas.aei.uni-hannover.de/work/yifan.wang/newsearch/env/lib64/python3.7/site-packages/git/util.py |
PS: here is some more reliable code sequence (for bash shell) that demonstrates how to get the "CYGWIN" string for comparison. |
issued a ticket for GitPython folks. |
When I run main.py, it occurs that:
(pymarl) D:\star\pymarl>python src/main.py --config=qmix --env-config=sc2 with env_args.map_name=2s3z
[DEBUG 14:29:26] git.cmd Popen(['git', 'version'], cwd=D:\star\pymarl, universal_newlines=False, shell=None, istream=None)
[DEBUG 14:29:26] git.cmd Popen(['git', 'version'], cwd=D:\star\pymarl, universal_newlines=False, shell=None, istream=None)
[DEBUG 14:29:26] git.util Failed checking if running in CYGWIN due to: FileNotFoundError(2, '系统找不到指定的文件。', None, 2, None)
[INFO 14:29:26] root Saving to FileStorageObserver in results/sacred.
[DEBUG 14:29:29] pymarl Using capture mode "fd"
Can you help me solve it? Thanks.
The text was updated successfully, but these errors were encountered: