SpyderKernelApp警告没有这样的通讯 [英] SpyderKernelApp WARNING No such comm
问题描述
通过Anaconda在spyder上运行GA代码,该脚本一直运行到最后,并且恰好在运行油井绘图仪之前(见下文):
Running a GA code on spyder through Anaconda, the script runs till the end and just before running the well plotter ( see below):
# Well Plotter
pdf = matplotlib.backends.backend_pdf.PdfPages("ROP Log.pdf")
plt.figure(figsize=(5,21))
plt.plot(well_proposal['Pred_ROP'] , well_proposal['AHD'], c='r', label= 'Predicted ROP')
plt.ylim( bottom =max(well_proposal['AHD']), top =min(well_proposal['AHD']))
plt.xlim(right = 100, left = 0)
plt.title('ROP VS Along Hole Depth')
plt.ylabel("Along Hole Depth (m)")
plt.xlabel("ROP (m/hr)")
plt.grid(b= True, which='both')
plt.legend(loc='upper right')
plt.tight_layout()
pdf.savefig()
pdf.close()
我收到以下错误"[SpyderKernelApp]警告|没有这样的通讯:04cfd510c9b811ea9e48b8e8562fb6fe"
I got the following error " [SpyderKernelApp] WARNING | No such comm: 04cfd510c9b811ea9e48b8e8562fb6fe "
试图搜索错误,但似乎大多数人都卡在[IPKernelApp]错误而不是[SpyderKernelApp]
attempt to search for the error but it seems that most of the people stuck with [IPKernelApp] ERROR not [SpyderKernelApp]
在Mac OS Catalina 10.15.6上工作
Working on Mac OS Catalina 10.15.6
对错误来源有任何想法吗?
Any thoughts on the source of error?
推荐答案
安装上述文件后遇到的另一个问题-我没有足够的内存来存储数据,并且开始再次出现故障.在虚拟机中增加可访问内存可以解决此问题.
The other issue I came across after installing the above - I did not have enough memory for my data and it started failing again. Upping the accessible memory in the VM fixed this.
这篇关于SpyderKernelApp警告没有这样的通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!