I configure my pycharm to use remote ssh python interpreter on the WSL (windows subsystem for linux) in the same computer to run python program. but it seems to encounter encoding problem. I change all the file_encoding to 'utf8', but don't work.
raceback (most recent call last): File "/home/yanhui/anaconda2/lib/python2.7/encodings/init.py", line 74, in search_function entry = _cache.get(encoding, _unknown) AttributeError: 'NoneType' object has no attribute 'get'

here is pycharm encoding config:

ssh remote interpreter works correctly:

go to the Settings->Tools->Python Scientific and uncheck "Show plots in toolwindow"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With