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
相关推荐
烂蜻蜓1 天前
NumPy 教程(二):安装与验证——pip、conda 与发行版选型
conda·numpy·pip
开开心心_Every2 天前
安卓手写文字生成工具,多种纸张一直免费
服务器·开发语言·jupyter·智能手机·计算机外设·vim·php
油丶酸萝卜别吃3 天前
Vue 实现主题切换功能(超简单版)
前端·vue.js·tensorflow
智商偏低8 天前
创建的 conda 环境如何迁移到领一个离线电脑上,后面随着开发需要往离线电脑上拷贝包
linux·人工智能·conda
BD_Marathon10 天前
安装Jupyter notebook
ide·python·jupyter
BD_Marathon12 天前
Jupyter魔法命令
ide·python·jupyter
2601_9679791213 天前
Ubuntu部署tensorflow(CPU/GPU)方法
ubuntu·tensorflow·cpu·gpu·配置
2601_9679791214 天前
【一】tensorflow安装、常用python镜像源、tensorflow 深度学习强化学习教学
深度学习·tensorflow·安装教程·anaconda·gpu安装
学无止境小袁同学14 天前
LlamaIndex Workflows 学习
python·llm·tensorflow·llamaindex·agent开发·多agent·workflows
算法小强16 天前
TensorFlow batch_normalization
tensorflow