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
相关推荐
如何原谅奋力过但无声17 小时前
TensorFlow 2.x常用函数总结(持续更新)
人工智能·python·tensorflow
nvd111 天前
asyncio.run() vs asyncio.gather():启动器与聚合器, 为何Jupyter notebook里能直接使用await?
开发语言·python·jupyter
EEG小佬1 天前
Jupyter选择内核时如何找到虚拟环境
ide·python·jupyter
半夏微凉半夏殇2 天前
cmd控制台出现 系统找不到指定的路径。
conda
却道天凉_好个秋2 天前
目标检测算法与原理(二):Tensorflow实现迁移学习
算法·目标检测·tensorflow
mpb2 天前
win11安装tensorrt,并适配conda虚拟环境
conda
lzq6032 天前
Python虚拟环境全指南:venv与conda对比与实践
开发语言·python·conda
苏打水com2 天前
0基础学前端:100天拿offer实战课(第3天)—— CSS基础美化:给网页“精装修”的5大核心技巧
人工智能·python·tensorflow
IT_Beijing_BIT3 天前
TensorFlow Keras
人工智能·tensorflow·keras
catoop3 天前
在 Windows 中基于 WSL 子系统 Ubuntu 安装配置 conda 示例
windows·ubuntu·conda