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
相关推荐
敲代码的猴先生12 小时前
论文分享 | TensorAbuse:通过滥用TensorFlow API将AI模型转化为恶意软件
人工智能·python·语言模型·tensorflow·论文笔记
HAPPY酷3 天前
【ROS2】 Conda 环境搭建(命令行版)
linux·运维·python·ubuntu·机器人·conda
想你依然心痛4 天前
TensorFlow Lite Micro:在MCU上运行神经网络推理——量化、算子支持与内存优化
单片机·神经网络·tensorflow
红石程序员4 天前
python3.11配置tensorflow-gpu版本环境
人工智能·tensorflow·python3.11
Dxy12393102164 天前
如何使用Conda国内源安装虚拟环境(保姆级全平台教程)
conda
码上暴富4 天前
Conda从入门到精通的环境管理实战
conda
xin_yao_xin5 天前
Conda 环境的 CUDA PATH 配置指南
开发语言·python·conda·cuda
yang_coder5 天前
juypter notebook启动ssl报错的处理记录
python·jupyter
菜板春24 天前
jupyter入门-手册-特征探索
python·jupyter
砍材农夫24 天前
python环境|conda安装和使用(1)
开发语言·后端·python·conda