jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.02k stars 292 forks source link

Jupyter Kernels don't show up in Jupyter after install #429

Closed jordana309 closed 2 years ago

jordana309 commented 2 years ago

I followed the install instructions, and none of the kernels showed up in Jupyter. I then copied envs/cling/share/jupyter/kernels/xcpp17/ to the /share/jupyter/kernels directory of my main install, and it showed up but can't connect.

What am I missing here?

jordana309 commented 2 years ago

I should clarify that the same approach worked for xcpp14, just not for 17. I notice that issue #413 and #415 are possibly the same issue as this, and it looks like the solution is to get new versions of dependencies on condaforge? Does that mean I should just stick with cpp14 for now?

mertunsall commented 2 years ago

See #217 for this problem: it's most likely that you're running jupyter from the global environment that does not have the C++ kernel so you need to install jupyter in your new environment as shown in the issue.

I believe there's currently a problem with C++17 that is not resolved but I don't have full information.

jordana309 commented 2 years ago

Thanks, Antonio! Installing jupyter in my current environment did, in fact, solve the issue. I didn't make it all way way down to #217. That fixed 11 and 14. 17 still is weird. Appreciate the help!