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
相关推荐
垦***耪37 分钟前
基于Bayes优化的CNN - BiLSTM回归预测:多输入单输出模型实践
jupyter
serve the people3 小时前
tensorflow 零基础吃透:tf.function 与 RaggedTensor 的结合使用
人工智能·tensorflow·neo4j
serve the people3 小时前
tensorflow 零基础吃透:SavedModel 与 RaggedTensor 的结合使用
人工智能·tensorflow·neo4j
聊天QQ:276998857 小时前
探索 PLL 电荷泵锁相环:从架构到流片的奇妙之旅
tensorflow
liwulin05067 小时前
【PYTHON】python venv创建虚拟环境,非conda
开发语言·python·conda
裤裤兔8 小时前
已经安装了PyTorch,Jupyter Notebook仍然报错“No module named torch“
人工智能·pytorch·jupyter
瀚岳-诸葛弩8 小时前
对比tensorflow,从0开始学pytorch(三)--自定义层
人工智能·pytorch·tensorflow
serve the people9 小时前
tensorflow 零基础吃透:RaggedTensor 的重载运算符
人工智能·tensorflow·neo4j
serve the people9 小时前
tensorflow 如何使用 tf.RaggedTensorSpec 来创建 RaggedTensor
人工智能·python·tensorflow
云雾J视界9 小时前
分布式AI框架选型困局:SintolRTOS vs Ray vs Horovod,性能压测全解析
tensorflow·wpf·horovod·ray·分布式ai·sintolrtos