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
相关推荐
qq_2575630714 小时前
anoconda简单操作
jupyter·cell·anoconda·markerdown
F_D_Z1 天前
anaconda search&anaconda show | conda 检索包资源安装指定版本包指定源安装命令package
conda
勇往直前plus1 天前
PyCharm 找不到包?Anaconda base 环境 pip 装到用户目录的排查与修复
ide·python·pycharm·conda·pip
serve the people1 天前
tensorflow 零基础吃透:RaggedTensor 的评估(访问值的 4 种核心方式)
人工智能·tensorflow
serve the people2 天前
tensorflow 零基础吃透:RaggedTensor 的索引与切片(规则 + 示例 + 限制)
人工智能·tensorflow·neo4j
serve the people2 天前
tensorflow 零基础吃透:RaggedTensor 与其他张量类型的转换
人工智能·tensorflow·neo4j
serve the people2 天前
tensorflow 核心解析:tf.RaggedTensorSpec 作用与参数说明
人工智能·python·tensorflow
聊询QQ:688238862 天前
纯电动汽车Simulink仿真模型建模全记录
tensorflow
垦***耪2 天前
基于Bayes优化的CNN - BiLSTM回归预测:多输入单输出模型实践
jupyter
serve the people2 天前
tensorflow 零基础吃透:tf.function 与 RaggedTensor 的结合使用
人工智能·tensorflow·neo4j