6
4

More than 5 years have passed since last update.

python起動時のエラーメッセージ①

Posted at

エラーメッセージ


Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File "C:\Users\username\Anaconda3\lib\site.py", line 439, in register_readline
    readline.read_history_file(history)
  File "C:\Users\username\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file
    self.mode._history.read_history_file(filename)
  File "C:\Users\username\Anaconda3\lib\site-packages\pyreadline\lineeditor\history.py", line 82, in read_history_file
    for line in open(filename, 'r'):

python起動時にこのようなエラーメッセージが出るようになったので、それを解消した。

C:\Users\username

にあるpython_historyというファイルを消すことで解決した。

6
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4