Open dibalikpohon opened 1 year ago
It seems the key might be replacing Miniconda with Miniforge. I failed with Miniconda on Ubuntu 20.04, but using Miniforge worked.
I have faced a similar issue. I have tried with Conda.
conda install -c conda-forge xeus-cling
Did you manage to solve it?
@abrarfahim19 Do not use Conda. Using Miniforge solved the problem for me on Ubuntu.
@adah1972 thanks. I tried miniforge and it worked.
Miniforge does not work for me. Which base image do you use? I tried 3 different ones without success
/opt/conda/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/12.2.0/x86_64-conda-linux-gnu/bits/os_defines.h:39:10: fatal error: 'features.h
Possible C++ standard library mismatch, compiled with __GLIBCXX__
@abrarfahim19 Did you just replace conda install -c conda-forge xeus-cling
with mamba install -c conda-forge xeus-cling
? Did you use a clean environment?
@kllp yes. It worked for me. And yes, it was a clean environment.
I pulled a docker image jupyter/minimal-notebook and installed xeus-cling from a pre-installed venv
base
on that image.I opened the JupyterLab. I found C++ are listed on the Notebook list. Unfortunately, I can't run any kernels there. I opened the logs and it shows some errors that I don't understand.
Running Python kernel is fine.
I was expecting any C++ kernel on xeus-cling worked fine. But I found it didn't.
These packages was being installed when executing
mamba install xeus-cling -c conda-forge