- Python 3.6 + Flask 1.0.2 + 3rd-party libs, etc.
PyCharm -> Edit Configurations -> Add Global variable -> Apply
LC_ALL zh_CN.UTF-8
LANG zh_CN.UTF-8
in shell
export LC_ALL="zh_CN.UTF-8"
export LANG="zh_CN.UTF-8"
if you local/user dir had dir named ".env", it will cause python-dotenv error, rename the dir ".env"
flask run
check program dir structure
tree -L 1 -FC -I "*.pyc"