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
相关推荐
Master_清欢9 小时前
jupyter新增行数
ide·python·jupyter
莫非王土也非王臣14 小时前
TensorFlow中卷积神经网络相关函数
人工智能·cnn·tensorflow
缘友一世14 小时前
PyCharm连接autodl平台服务(python解释器&jupyter lab)
python·jupyter·pycharm
weixin_4624462316 小时前
使用 Python 创建和导出 Jupyter Notebook:从零到一的完整教程
开发语言·python·jupyter
jarreyer16 小时前
markdown转jupyter notebook记录
ide·python·jupyter
itwangyang52018 小时前
Windows + Conda + OpenMM GPU(CUDA)完整安装教程-50显卡系列
人工智能·windows·python·conda
mengyoufengyu19 小时前
JupyterLab4.5安装使用
python·jupyter·jupyterlab
小杜今天学AI了吗19 小时前
如何配置 linux 系统的conda 环境
linux·运维·conda
gravity_w2 天前
Conda常用命令总结
经验分享·笔记·conda
2501_941881402 天前
高并发消息队列设计与优化策略在多语言系统中的实践分享
jupyter