-
Notifications
You must be signed in to change notification settings - Fork 792
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
Fails to build on Windows: FromUtf8Error #1403
Comments
Thanks for the report. It looks to me like the PyO3 build script is incorrect here to be using This playground containing the bytes and using May I ask what system encoding you're using? I would guess Windows-1251, by comparing the problematic bytes. |
Yes, it can be. I've made a mistake of using cyrillic username when installed the system. |
Yes, it builds now. Thank you! |
Perfect, thanks for the bug report and confirming the fix! |
🐛 Bug Reports
🌍 Environment
Your operating system and version:
Windows 10
Your python version:
3.8.7
How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?:
Manual installation (exe from official site).
Your Rust version (
rustc --version
):1.49.0 (e1884a8e3 2020-12-29)
Your PyO3 version:
0.12.4, 0.13.1
Have you tried using latest PyO3 master (replace
version = "0.x.y"
withgit = "https://github.com/PyO3/pyo3")?
:Yes. Same error.
💥 Reproducing
Just add
to a project generated by
cargo new
and build.The text was updated successfully, but these errors were encountered: