python
1Python 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 01:53:57) [MSC v.1916 64 bit (AMD64)] on win32 2Type "help", "copyright", "credits" or "license" for more information. 3Failed calling sys.__interactivehook__ 4Traceback (most recent call last): 5 File "C:\Users\my174\anaconda3\envs\kaohanbetsu_for_exam\lib\site.py", line 439, in register_readline 6 readline.read_history_file(history) 7 File "C:\Users\my174\anaconda3\envs\kaohanbetsu_for_exam\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file 8 self.mode._history.read_history_file(filename) 9 File "C:\Users\my174\anaconda3\envs\kaohanbetsu_for_exam\lib\site-packages\pyreadline\lineeditor\history.py", line 82, in read_history_file 10 for line in open(filename, 'r'): 11UnicodeDecodeError: 'cp932' codec can't decode byte 0x85 in position 556: illegal multibyte sequence
vscodeのターミナル及びコマンドプロンプトからpythoを起動させようとすると上記のようなエラーが出ます。解決方法を教えてください。
回答1件
あなたの回答
tips
プレビュー