-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Seeing exitcode: 127 (execution failed) on Windows 10 for every command #111
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
Comments
I have the same issue |
I suspect it's because Docker is linuxoid (WSL-2) and the OS Windows which confuses it. It seems to get the task done (or close to done) but requires more than double the steps. |
Looks like autogen overwrite ‘sh’ to ‘ps1’ when OS is windows, even if the code is running inside a Linux docker Line 262 in 20d77a1
|
Agree @LittleLittleCloud - looks like you found the bug! |
@sonichi Before I make a fixing PR, do you know the full story of overwriting |
The reason was to support local execution on windows. But I forgot the docker part. So, please go ahead. |
Does the assistant agent know the environment and shell it is running? If not, it would be more robust to provide this information in the system message in case autogen is running in windows and without docker. |
The assistant agent doesn't know. So I agree with your suggestion. |
@skye0402 , We are closing this issue due to inactivity; please reopen if the problem persists. |
Dear experts,
I'm running Windows 10 and the example code https://github.com/microsoft/autogen/blob/main/notebook/agentchat_web_info.ipynb
If figures out that "requests" is missing so it tries to install. But 'sh' can't be found. That's strange because if I type it in the CLI it's starting. Same is the case for 'pip' (which also works). Docker image building is working it seems.
Any idea?
Funny enough after all errors it shows the abstract of the paper?
The text was updated successfully, but these errors were encountered: