当前位置:网站首页>jupyter notebook 添加kernel的方法
jupyter notebook 添加kernel的方法
2022-07-20 05:34:00 【独影月下酌酒】
1.需求
情景:安装完Anaconda利用conda创建了虚拟环境,但是启动jupyter notebook之后却找不到虚拟环境。
原因:由于在虚拟环境下缺少kernel.json文件
2.解决方案
2.1 安装ipykernel
conda install ipykernel
2.2 激活conda环境
source activate 环境名称
2.3 将环境写入notebook的kernel中
# python -m ipykernel install --user --name 环境名称 --display-name "Python (环境名称)"
python -m ipykernel install --user --name tf_2.1_cpu_py_3.6 --display-name "tf_2.1_cpu_py_3.6"
2.4 打开notebook,即可在kernel选项中看见
边栏推荐
猜你喜欢
【STM32F130RCT6】超声波测距模块思路和代码
[application course of the first cann training camp advanced class in 2022] additional question - media data processing + model reasoning
FPGA学习准备
RIoTBoard开发板系列笔记(七)—— Framebuffer的使用
MySQL master-slave replication docker cluster construction
DC-2-靶场实践
理解WGAN 和 Spectral Normalization(归一化)
学习记录十三
色彩空间(1)—— RGB
Understand the original Gan loss and hinge Gan loss
随机推荐
Clickhouse failed to start_ Unit clickhouse-server. service entered failed state
辨析Iteration、epoch及batchsize之间的关系
Tensorflow V1 introductory tutorial
PyQt5中QComboBox实现多选功能
FPGA学习准备
Stm32cubemx reads and writes USB flash disk through FatFs
香蕉派 BPI-M5折腾记录(2)—— 编译u-boot
php记录
[ROS robot system] autonomous navigation + Yolo target detection + voice broadcast
jsqlparser和pagehelper的jar包下载
解决错误:could not find ‘xxxTest‘
输配电及用电工程毕业论文题目
色彩空间(1)—— RGB
【STM32F103RCT6】电机PWM驱动模块思路与代码
SQL subquery
After xshell is installed, an error is reported when starting: mfc110 cannot be found DLL, unable to continue code execution. Reinstalling the program may fix this problem
[système robotique Ros] navigation autonome + détection de cibles Yolo + annonce vocale
【CANN訓練營】基於昇思的GAN實現隨筆
[application course of the first cann training camp advanced class in 2022] additional question - media data processing + model reasoning
SSM框架总和前的所有框架复习