How to Display Python Error Messages in English
- Open your terminal or command prompt and enter the following command:
export LANG=en_US.UTF-8
Or, if you're using Windows, enter the following command:
set LANG=en_US.UTF-8
- Run your Python program. The error messages will now be displayed in English.
原文地址: https://www.cveoy.top/t/topic/ocpA 著作权归作者所有。请勿转载和采集!