I recently started using python.
At that time, I got an error when I ran pip install
, so I will write a workaround.
Add the following files to C: \ Python27 \ Lib \ site-packages
.
sitecustomize.py
import sys
sys.setdefaultencoding('shift-jis')
Change the directory according to your environment. This should work fine.
Recommended Posts