【conda环境 安装 tensorflow2.2】 解决方案

1.检查anaconda安装:在cmd输入 conda --version
2.检测已经安装的环境:conda info --envs
3.新建一个python3.5的环境,tensorflow:
###conda create -n xxx python=3.5 xxx为虚拟环境
###conda create -n xxx python=3.6 xxx为虚拟环境名
conda create -n xxx python=3.7 xxx为虚拟环境名
4.激活新建的环境:activate tensorflow
5.使用Anaconda查看路径名
在这里插入图片描述
在这里插入图片描述

环境
点击右下角python 3.7
点击add
点击第二个(conda environment)
点击第二个(existing enviroment)
ok
在这里插入图片描述
在这里插入图片描述

tensorflow装2.2
pip install tensorflow-gpu==2.2 -i https://pypi.douban.com/simple
pip install matplotlib

import tensorflow as tf
print(tf.version)
跑一下
2.2.0

1.检查anaconda安装:在cmd输入 conda --version
2.检测已经安装的环境:conda info --envs
3.新建一个python3.5的环境,tensorflow:
###conda create -n xxx python=3.5 xxx为虚拟环境
###conda create -n xxx python=3.6 xxx为虚拟环境名
conda create -n xxx python=3.7 xxx为虚拟环境名
4.激活新建的环境:activate tensorflow
5.使用Anaconda查看路径名
在这里插入图片描述
在这里插入图片描述

环境
点击右下角python 3.7
点击add
点击第二个(conda environment)
点击第二个(existing enviroment)
ok
在这里插入图片描述
在这里插入图片描述

tensorflow装2.2
pip install tensorflow-gpu==2.2 -i https://pypi.douban.com/simple
pip install matplotlib

import tensorflow as tf
print(tf.version)
跑一下
2.2.0

相关推荐

  1. conda配置tensorflow环境+jupyter配核

    2024-02-20 11:10:01       31 阅读
  2. ubuntu22.04 安装conda

    2024-02-20 11:10:01       60 阅读
  3. tensorflow环境安装配置

    2024-02-20 11:10:01       57 阅读
  4. conda环境安装ffmpeg

    2024-02-20 11:10:01       25 阅读
  5. conda离线状态安装环境:更快安装环境方式

    2024-02-20 11:10:01       29 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-20 11:10:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-20 11:10:01       101 阅读
  3. 在Django里面运行非项目文件

    2024-02-20 11:10:01       82 阅读
  4. Python语言-面向对象

    2024-02-20 11:10:01       91 阅读

热门阅读

  1. Android S - 添加按键,上报键值为0

    2024-02-20 11:10:01       46 阅读
  2. visual studio code(vs code)历史版本下载

    2024-02-20 11:10:01       55 阅读
  3. ElementUI +++ Echarts面试题&答案汇总 Echarts

    2024-02-20 11:10:01       49 阅读
  4. RabbitMQ与Spring Boot集成示例

    2024-02-20 11:10:01       139 阅读
  5. linux系统监控工具的补充内容

    2024-02-20 11:10:01       52 阅读
  6. 网络体系结构

    2024-02-20 11:10:01       57 阅读
  7. linux的IP及虚IP(附加IP)获取打印

    2024-02-20 11:10:01       51 阅读
  8. MySQL全量备份

    2024-02-20 11:10:01       43 阅读
  9. 探索单片机应用领域:从智能家居到工业自动化

    2024-02-20 11:10:01       54 阅读
  10. Qt程序设计-无边框可移动可拖拽调整大小窗体

    2024-02-20 11:10:01       51 阅读
  11. Python爬虫知识图谱

    2024-02-20 11:10:01       50 阅读
  12. 函数——递归3(c++)

    2024-02-20 11:10:01       48 阅读