In the python site-package directory
sitecustomize.py
import sys sys.setdefaultencoding('utf-8')
If you place, you don't have to encode ("utf-8") each time.
Recommended Posts