python - 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
推荐阅读
- angular - 将 Kendo Angular 网格列模板传递给托管网格的父组件
- sql - 如何编写 SQL 子查询?
- angular - Mock Angular Material MatCheckboxChanged Jasmine
- css - 相对于上方元素的位置和绝对到视口底部的位置
- php - Docker 映像在 AWS Fargate 上不起作用,但在 EC2 中起作用
- machine-learning - 我应该使用哪些功能来预测足球运动员的表现?
- java - Spring Boot JMS - 何时应在 @Transacted 方法上发送消息?
- android - 无法在 android 中将日期字符串插入 SQLite 数据库
- android - 屏幕旋转后保持 TextView 可见性 (View.INVISIBLE) 和按钮状态 (setEnabled(false))
- go - 渲染 html 模板 golang revel