A mistake was made today in the execution of the flask command,
Runtimeerror:click'll abort further execution because Python 3 is configured to use ASCII as encoding for the ENVIRONM Ent.
Obviously, it is said that the Python3 character set has problems, but also very humane to give the solution:
This system supports the C.UTF-8 locale which is recommended.
You might is able to resolve your issue by exporting the
Following environment variables:
export LC_ALL=C.UTF-8export LANG=C.UTF-8
Click discovered that exported a UTF-8 locale
It means that I need to execute two export commands, set the character set, follow the prompts to set up to run normally, borrow this question to draw a knowledge point, export command and locale character set.
The Linux Export command is used to set or display environment variables.
When executing a program in the shell, the shell provides a set of environment variables. Export can add, modify, or delete environment variables for use by subsequent executing programs. export is only valid for that landing operation .
The point is that export execution only applies to the current login operation, which means that when you close the current window and log in again, the variable returns to its original value and needs to be set again.
Temporarily set environment variables with export command under Linux