如何解决Conda 解决“xeus-cling”的安装
我的终端在没有安装 xeus-cling
包的情况下继续运行。我已经坚持了 2 个多小时了。
(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: \
解决方法
该软件包用于 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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。