2016-11-05 2 views
1

Spyder(in Windows 10)에이 문제가 있습니다. 내 spyder 콘솔 (1 + 1과 같은 간단한 무언가조차)에 아무것도 할 때, 나는 내부 콘솔 탭에 다음과 같은 오류 메시지가 얻을 :인쇄 할 때 Spyder 콘솔에 오류가 발생했습니다.

(어떤 도움을 이해할 수있을 것이다)

Traceback (most recent call last): <br> <br> 
    File "C:\Users\ JohnDoe \Anaconda2\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch<br><br> 
Traceback (most recent call last):<br><br> 
    File "C:\Users\ JohnDoe \Anaconda2\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch<br><br> 
    handler(msg)<br><br> 
    File "C:\Users\JohnDoe\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 188, in _handle_execute_reply<br><br> 
    self.handle_exec_method(msg)<br><br> 
    File "C:\Users\ JohnDoe\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 225, in handle_exec_method<br><br> 
    properties = ast.literal_eval(data['text/plain'])<br><br> 
KeyError: 'text/plain'<br><br> 
    handler(msg)<br><br> 
    File "C:\Users\ JohnDoe\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 188, in _handle_execute_reply<br><br> 
    self.handle_exec_method(msg)<br><br> 
    File "C:\Users\ JohnDoe\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 222, in handle_exec_method<br><br> 
    view = ast.literal_eval(data['text/plain'])<br><br> 
KeyError: 'text/plain' 
+0

이 오류는 Spyder 3.0.2에서 수정되었습니다. 해당 버전으로 업데이트하십시오. –

+0

그게 내가 한거야. 고마워. – Prometheus

답변

1

문제는 당신이이 오류는 스파이더 3.0.2에서 수정되었습니다 카를로스 mentioned

처럼 스파이더 3를 설치하면 해결됩니다. 해당 버전으로 업데이트하십시오.

그러나 실제로 코드 또는 실행 시간에는 영향을주지 않습니다. 유일한 단점은이 오류를 나타내는 시스템에서 코드를 테스트 할 수 없다는 것입니다.

+0

Spyder 3.1에서이 문제를 피하기 위해 추가 검증을 추가했습니다. 그 이유는 다음과 같습니다. –

+0

감사합니다. Carlos. 나는 그랬다. :) 매우 감사. – Prometheus