conda配置tensorflow环境+jupyter配核

conda配置tensorflow环境

  1. anaconda安装python环境

1)在Anaconda Prompt中输入命令,创建conda环境

bash 复制代码
conda create -n tensorflow python=3.7

2)激活环境

bash 复制代码
activate tensorflow
  1. 安装Tensorflow
bash 复制代码
pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --user
  1. 安装Keras
bash 复制代码
pip install keras==2.3.1 -i https://pypi.tuna.tsinghua.edu.cn/simple --user

jupyter配核

1.切换想要添加的环境

bash 复制代码
activate tensorflow

2.安装ipykernel

bash 复制代码
python -m pip install ipykernel

3.重启jupyter notebook

anaconda删除虚拟环境

假设你的环境名字叫: tf2

bash 复制代码
conda remove -n tf2 --all

anaconda查看环境包

bash 复制代码
conda info --envs
相关推荐
MediaTea19 小时前
Python 第三方库:TensorFlow(深度学习框架)
开发语言·人工智能·python·深度学习·tensorflow
Lhuu(重开版1 天前
CSS从0到1
前端·css·tensorflow
HackerTom2 天前
vs code jupyter连gpu结点kernel
python·jupyter·gpu·vs code·远程
李昊哲小课2 天前
cuda12 cudnn9 tensorflow 显卡加速
人工智能·python·深度学习·机器学习·tensorflow
奔跑的石头_2 天前
实践案例 - 使用Python和TensorFlow构建简单的图像分类模型
tensorflow
盼小辉丶2 天前
TensorFlow深度学习实战(43)——TensorFlow.js
javascript·深度学习·tensorflow
IT_Beijing_BIT2 天前
tensorflow 图像分类 之二
分类·tensorflow·neo4j
IT_Beijing_BIT2 天前
tensorflow 图像分类 之四
人工智能·分类·tensorflow
2501_930412273 天前
如何添加清华源到Conda?
开发语言·python·conda