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 天前
深度学习:环境搭建PyTorch vs TensorFlow 选型
pytorch·深度学习·tensorflow·gpu·环境搭建·cuda·框架选型
开开心心就好2 天前
手机虚拟化学实验室,混合燃烧都能模拟
jupyter·智能手机·ffmpeg·计算机外设·电脑·音视频·visual studio
weixin_461769402 天前
conda create 创建容器 Failed to resolve ‘repo.anaconda.com‘问题
开发语言·python·conda·repo·网络问题·无法创建
GPU实战笔记2 天前
TensorBoard 空面板排查:日志写入、--logdir 与访问入口分层
深度学习·tensorflow·模型训练·tensorboard
饭来_6 天前
Ubuntu 中出现 CondaToSNonInteractiveError 的解决方法
ubuntu·conda·debug
53488736abcdefg6 天前
Anaconda+Jupyter+NumPy
jupyter·numpy·anaconda
weixin_461769408 天前
VS Code 中创建 Jupyter 文件(.ipynb)
ide·python·jupyter
emo_2b8 天前
Pycharm配置conda解释器时遇到的问题及解决方法
linux·pycharm·conda
*wait for?9 天前
利用uv安装python包,并运行jupyter
python·jupyter·uv
Είναι η κοπέλα10 天前
llama.cpp 与 GGUF 格式:本地大模型的“裸引擎“
开发语言·人工智能·pytorch·python·conda