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()
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?
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/ :)
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.
This problem:
Restarting kernel...
[SpyderKernelApp] WARNING | No such comm: bb97cb82a1fc11eba21c1e00a221a680
you didn't have enough resource ( generally: Memory (RAM) )
or
You can check your memory by using Activity Monitor to monitor your memory, CPU,...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With