-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
UnicodeDecodeError when loading spacy #539
Comments
Thanks. I must have opened the file incorrectly. I need to add tests for different encoding environment variables to my travis config. Are you using Python 2.7 or Python 3.5? |
Python 2.7(.12) |
While I fix the bug, try doing
|
Sorry forgot to add I'm running on windows |
Ah. I hope you'll continue reporting problems if you have them :). We're running a bit blind on Windows at the moment. I've gotten the CI to test the null encoding environment now, and I've turned the test from red to green. I'll push the fix to PyPi. |
Updated through pip (spacy 1.0.3) but seems like the issue is persisting :/ |
The fixed version is 1.0.4 — I think you nipped in just ahead of the upload. Try now. |
Worked like a charm. Thank you for your time to fix this! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Whether I use:
or
I get the error:
Could this be an issue with the encoding since python 2.7 handles encoding differently than 3.x? Although if I recall well, I used spacy on python 2.7 without any issues before.
The text was updated successfully, but these errors were encountered: