标签:plot 127.0 86166 Programs py 报错 File line Python39
在pycharm使用matplotlib绘图无法在SciView显示!报错信息如下:
Error: failed to send plot to http://127.0.0.1:63342
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2021.1\plugins\python\helpers\pycharm_display\datalore\display\display_.py", line 60, in _send_display_message
urlopen(url, buffer)
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 517, in open
response = self._open(req, data)
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain
result = func(*args)
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1371, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1346, in do_open
r = h.getresponse()
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1347, in getresponse
response.begin()
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 307, in begin
version, status, reason = self._read_status()
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\86166\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto
return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
Error: failed to send plot to http://127.0.0.1:63342
解决方法:
点击pycharm的设置setting——>tools——>python scientific,然后取消勾选☑️Show plot in tool windosw.
标签:plot,127.0,86166,Programs,py,报错,File,line,Python39 来源: https://blog.csdn.net/qq_53581188/article/details/116130975
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。