当前位置:网站首页>Jupyter notebook中添加虚拟环境
Jupyter notebook中添加虚拟环境
2022-06-28 13:26:00 【kelly1250230225】
查看cuda版本的2种方法:
cat /usr/local/cuda/version.txt
nvcc --version
查看tensorflow是否安装成功:
键入python:
打开Jupyter notebook,创建一个新文件,只有一个Python3(如下图),但是我们也会想使用自己创建的虚拟环境
1、首先,先激活想要添加的虚拟环境,我已经建立好了虚拟环境yolov3
输入命令:
pip install ipykernel ipython

出现如下界面表示成功:
接着输入:
ipython kernel install --user --name +你的虚拟环境名称
出现如下界面表示成功:
打开jupyter试试效果,这一步要退出虚拟环境,在base终端敲入:jupyter notebook ,出现了我们前面设置的虚拟环境。

边栏推荐
- 抢做意大利岛主?刘强东两月套现66亿 疑一次性5.6亿“紧急转账”急购欧洲海上皇宫
- Professional English calendar questions
- Is it safe for Huatai Securities to open an account? Is there any risk in opening an account
- How to open an account of Huatai Securities? How to handle the account opening is the safest
- How to display the server list of the electric donkey, and how to update the eMule server list
- 弹性盒子自动换行小Demo
- (原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)
- You must configure either the server or JDBC driver (via the ‘serverTimezone‘ configuration property
- Fs7022 scheme series fs4059a dual two lithium battery series charging IC and protection IC
- 无心剑英译朱熹《观书有感二首·其一》
猜你喜欢

Google Earth engine (GEE) - Global organic soil area of FAO (1992-2018)

How to find opportunities in a bear market?
![(original) [Maui] realize](/img/76/d79b9cf4ed44870bb20a189315def9.jpg)
(original) [Maui] realize "floating action button" step by step

中国广电5G套餐来了,比三大运营商低,却没预期那么低

Embedded development: seven techniques for estimating battery life

FS7022方案系列FS4059A双节两节锂电池串联充电IC和保护IC

PCB understand Wang, are you? I am not

(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)

Mobile web training -flex layout test question 1

单元测试 CI/CD
随机推荐
单元测试 CI/CD
VSCode 快捷键
Tencent tangdaosheng: facing the new world of digital and real integration, developers are the most important "architects"
Elastic box auto wrap demo
Kubernetes 深入理解kubernetes(一)
How to open an account on the flush? Is it safe
Embedded design and development project - liquid level detection and alarm system
Mobile web training -flex layout test question 1
The $980000 SaaS project failed
中国广电5G套餐来了,比三大运营商低,却没预期那么低
Centos7 - installing mysql5.7
Recognize the startup function and find the user entry
Resume template Baidu online disk
Vscode如何设置代码保存后自动格式化
PHP gets the number of digits and replaces it with the specified mantissa
RK3399平台开发系列讲解(使用篇)Pinctrl子系统的介绍 - 视频介绍
Centos7: switch MySQL users and log in to MySQL
Successful cases of rights protection of open source projects: successful rights protection of SPuG open source operation and maintenance platform
Pytorch main modules
弹性盒子自动换行小Demo