In an environment where I have to use a Windows machine, I have to go into a Linux server or a virtual machine to check the operation in Python, so I created a Python environment.
-Python3 in Anaconda
It freezes when I input Japanese into Rodeo's IPython console.
Apparently, the input / output of the IPython console is UTF-8, but the reason is that the sys.stdin
and sys.stdout
ʻencoding of python inserted in Anaconda are
cp932`.
I managed to create a batch file like the one below and specify it in the "Python Command" of Rodeo's settings.
python-utf8.bat
@echo off
setlocal
set PYTHONIOENCODING=utf-8
%~dp0\python.exe %*
endlocal
It feels like it's not smart.
Recommended Posts