Conda solving install of `xeus-cling`

2k Views Asked by At

My terminal keeps running without install the xeus-cling package. I have been stuck on this for over 2 hours now.

(base) ifeanyichukwuobeta@ifeanyiukwusMBP ~ % conda install xeus-cling -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
1

There are 1 best solutions below

0
merv On

That package is for C++ kernel support in Jupyter. More idiomatic for Jupyter + Conda is to keep Jupyter and each kernel in separate environments.

Jupyter Environment

conda create -n jupyter jupyter nb_conda_kernels

C++ Kernel

conda create -n xeus xeus-cling

In this setup, one would always launch Jupyter from the activated jupyter environment, then select the xeus kernel for the notebook.

conda activate jupyter
jupyter notebook