-
Notifications
You must be signed in to change notification settings - Fork 1
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
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII #11
Comments
Same problem here. Exact same stacktrace. Black works from the command line:
|
@octohedron @sebw Sorry for the slow response guys! I messed up my notification settings and wasn't getting notified about issues on this repo. This seems related to #9 which I published a hacky fix for a while back, but I'm not sure why it's not working for you. TLDR: it's actually an issue with VS Code Some workarounds are mention in #9 such as launching VS Code from your terminal instead of the dock/finder or hacking your black path to set the locale. Also, Black formatting support just landed in the latest official Python extension, so you might want to switch to that, though I'm unsure whether it will fix your issue. My plan all along has been to deprecate this extension once the official Python extension added support for Black. Let me know if there's any reason I shouldn't go ahead with that course of action. |
I'm going to go ahead close this since, from what I understand, switching to the official Python extension solves the issue, and I'm going to move forward with deprecating this extension. Thanks! |
Unfortunately, this does not seem to be the case for me, as I wrote in microsoft/vscode-python#1980. Do you know what change in the official repos should have fixed this issue? And, would you have any suggestions for working around this bug while using the official extension? In the meantime, your extension is still working – thank you! |
@blackrobot thanks for the info, I've reopened this (I don't know of any specific changes, no). |
@blackrobot The only work around that I can figure out is to launch vscode from your teminal using the When you do that VS Code will inherit your system's locale settings. That's how I work anyways, so I've never run into this issue. |
OS:
macOs 10.13.4
Stack trace
The text was updated successfully, but these errors were encountered: