-
Notifications
You must be signed in to change notification settings - Fork 386
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
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position X: character maps to <undefined> #770
Comments
Hi @guilhermeferrari , thank you for reporting this. Indeed I see that some of our calls to |
I find another solution, HERE, maybe will help:
|
Or, another solution:
|
In my case it was a pip installation error, how can I proceed from here? I have already tried setting the encoding to utf-8 and latin-1 but the error still persists. |
OS: Windows
Pytext Version: Tried with 1.10.0 and 1.11.1, error stack on 1.11.1
I am having this error when trying to use the pre-commit integration and trying to pair manually with the cli command:
I fixed it by adding the parameter
encoding="utf-8"
tocli.py
line 740.https://github.com/mwouts/jupytext/blob/master/jupytext/cli.py#L740
Is that a correct fix? Or could it be something wrong with my notebook?
PS: On Linux and MacOS it works fine, just having this problem on windows.
The text was updated successfully, but these errors were encountered: