-
Notifications
You must be signed in to change notification settings - Fork 217
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
build from source and get UnicodeDecodeError when importing k2 #1213
Comments
Could you first remove the following lines Lines 32 to 48 in 7ff6d89
and re-install k2? |
It seems that it fixes the issue. Instead of removing those lines, you can change To find out which line causes the issue, you can change them line by line. |
It turns out that the string for "os_type" causes this problem, i.e., line 39. |
Does your OS name contain special characters? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform: Win10, cuda11.8 and torch 2.01
I build form source by running
python setup.py install
No error occurs. The build seems to be successful.
However, when I import k2 or run
python -m k2.version
, I get the UnicodeDecodeError.The text was updated successfully, but these errors were encountered: