matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

hit dead kernel error with xeus-cling

Open jerabaul29 opened this issue 5 years ago • 2 comments

I am trying to use matplotlibcpp with a xeus-cling notebook. My code is available here, though it is a simple adaptation of the gist linked to in the first cell:

https://github.com/jerabaul29/xeus-cling-experimentations/blob/main/example_matplotlibcpp/example_matplotlibcpp.ipynb

I had a number of import issues, as well as some numpy issues, at the beginning, which now seem to be fixed. However, I still have one problem, i.e. when I hit the last cell a windows pops up with a "The kernel has appeared to have died. It will restart automatically" message. I have tried to search for help but cannot find anything that works. Any idea what the problem may be?

jerabaul29 avatar Oct 28 '20 08:10 jerabaul29

Btw, these difficulties made me wonder, would it be possible, instead of installing everything on one's machine by hand, to have a standardised dockerfile with everything needed to run out of the box, for example matplotlib-cpp + xeus-cling notebooks? Do you know if such a dockerfile that would take care of eerything exists / if so could it be part of the repo / if not do you think this would be possible to setup? :)

jerabaul29 avatar Oct 28 '20 08:10 jerabaul29

Hi @jerabaul29, Any updates on this? I was also trying the same. Please help if you are able to do it. Did you explore any alternatives?

Regards, Sreevishnu

Sreevis avatar Feb 17 '21 09:02 Sreevis