-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
OSError on MinGW64 with MSYS2 on Windows 8.1 #1338
Comments
None of MinGW, MSYS2, or Windows 8.1 are officially supported, but I'll leave this open for a while in case someone sees something. |
I can reproduce this issue with MSYS2 in Windows 10 when trying to use black which depends on click. |
danyeaw
added a commit
to danyeaw/click
that referenced
this issue
Sep 13, 2019
Fixes pallets#1338. In version 6.0, echo and prompt functions were modified to work with full unicode in the windows console by emulating an output stream. Since MSYS2 uses a bash console it was creating an OSError to apply these modifications when running in this environment.
This was referenced Sep 13, 2019
danyeaw
added a commit
to danyeaw/click
that referenced
this issue
Sep 14, 2019
Fixes pallets#1338. In version 6.0, echo and prompt functions were modified to work with full unicode in the windows console by emulating an output stream. Since MSYS2 uses a bash console it was creating an OSError to apply these modifications when running in this environment.
davidism
pushed a commit
to danyeaw/click
that referenced
this issue
Oct 9, 2019
Fixes pallets#1338. In version 6.0, echo and prompt functions were modified to work with full unicode in the windows console by emulating an output stream. Since MSYS2 uses a bash console it was creating an OSError to apply these modifications when running in this environment.
@davidism, is this fixed in master but not released yet? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A most basic script containing:
Produces the following stacktrace:
I am running under a MinGW64 bash shell installed through MSYS2 on a Windows 8.1 machine.
This is with Python 3.7, colorama 0.4.1, and Click 7.0, but the error goes back to 6.0, whereas it does not occur on 5.1. Python 2 does not exhibit the error.
The text was updated successfully, but these errors were encountered: