Window10
Anaconda 3
Spyder 5.1.5
Spyder プログラム実行すると
Spyder has encountered an internal problem のポップアップが現れ、計算が停止します。
詳細をみると 以下
self._show_prompt(prompt, newline=False, separator=False)
TypeError: _show_prompt() got an unexpected keyword argument 'separator'
2022年4月8日に conda update --allを実行した後、突然上記の事象が起こるようになりました。
spyderをResetしましたが、効果なし。
どうするば直りますでしょうか。
追加
多数のプログラムで問題が起こるのと、起こらないのとがあるので、解析しました。
Spyder has encountered an internal problem が現れるのは
xx=input("yyy") のコマンドのところでした。
これを xx=zzz といった直接入力にすると計算は進みます。
これは何故なのでしょうか?
コードを提示しよう
2日前(4/6)に issue として報告されていますね。
s=input() can't go thru · Issue #17626 · spyder-ide/spyder
https://github.com/spyder-ide/spyder/issues/17626
コメントに修正方法が書かれています。
https://github.com/spyder-ide/spyder/issues/17626#issuecomment-1091880757

回答1件
あなたの回答
tips
プレビュー