SpyderKernelApp WARNING No such comm

非 Y 不嫁゛ 提交于 2021-01-03 07:01:33


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.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')

I got the following error " [SpyderKernelApp] WARNING | No such comm: 04cfd510c9b811ea9e48b8e8562fb6fe "

attempt to search for the error but it seems that most of the people stuck with [IPKernelApp] ERROR not [SpyderKernelApp]

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.


I had a similar '[SpyderKernelApp] WARNING | No such comm: ...' error recently running Spyder through Anaconda. Although I'm on Ubuntu 18.04.4 LTS.

In Spyder, try going to Preferences -> IPython Console -> Graphics and switch the graphics backend from 'Automatic' to 'Inline'. This resolved the issue for me.


ok - for me the issue has been resolved - needed to add the extended dependencies for QT:

Debian | apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 -- | --

as indicated at https://docs.anaconda.com/anaconda/install/linux/ :)