Conda解决安装'xeuscling'`

2024-05-15 05:32:00 发布

您现在位置:Python中文网/ 问答频道 /正文

我的终端在没有安装xeus-cling包的情况下继续运行。我已经被困在这上面两个多小时了

(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: \ 

Tags: jsonpackageenvironmentwithcurrentcondametadatasolve
1条回答
网友
1楼 · 发布于 2024-05-15 05:32:00

该包是Jupyter中C++内核支持的。Jupyter+Conda更惯用的做法是将Jupyter和每个内核保持在单独的环境中

Jupyter环境

conda create -n jupyter jupyter nb_conda_kernels

C++内核

conda create -n xeus xeus-cling

在这个设置中,人们总是从激活的jupyter环境启动Jupyter,然后为笔记本选择xeus内核

conda activate jupyter
jupyter notebook

相关问题 更多 >

    热门问题