-
Notifications
You must be signed in to change notification settings - Fork 45
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
Decoding error on license file on macOS #45
Comments
The package whose license file is failing is |
Thanks for the report. I also try it on my macOS. |
@jameslamb It didn't reproduce on my macOS. However, it was reproduced when executed as follows. # raise Same error you reported 'UnicodeEncodeError'
$ env LANG=US-ASCII LC_CTYPE=US-ASCII pip-licenses --from=mixed --with-system --format=rst --with-license-file From this fact, I am suspicious of Write passenv in your [testenv]
passenv= LANG LC_CTYPE |
[testenv]
passenv= LC_CTYPE fixed it, thanks! Still strange though. I suppose that it's because Hmm, not sure, but really appreciate the fix! |
I add to the documentation as a frequently asked question about UnicodeEncodeError. Your report was very helpful. Thanks a lot! |
Important Starting with PEP 263 in 2001, |
Same issue as #35 and #37 but on macOS with a standard Python 3 install, not in a docker container.
Tested on 1.16.1.
Python prompt for reference:
The text was updated successfully, but these errors were encountered: