zoukankan      html  css  js  c++  java
  • 用anaconda安装tensorflow

    conda create -n tensorflow python=2.7

    conda activate tensorflow / source activate tensorflow

    anaconda search -t conda tensorflow

    anaconda show HCC/tensorflow-cpucompat

    官方下载更新工具包的速度很慢,所以继续添加清华大学 TUNA提供的Anaconda仓库镜像,在终端或cmd中输入如下命令进行添加
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
    conda config --set show_channel_urls yes


    根据返回的内容进行安装(238上没有成功)
    (tensorflow) yuany@Mobile238:~/.conda/envs/tensorflow$ anaconda show HCC/tensorflow-cpucompat
    Using Anaconda API: https://api.anaconda.org
    Name: tensorflow-cpucompat
    Summary: Computation using data flow graphs for scalable machine learning.
    Access: public
    Package Types: conda
    Versions:
    + 1.0.0
    + 0.12.1
    + 1.3.1
    + 1.4.0
    + 1.5.0
    + 1.7.0

    To install this package with conda run:
    conda install --channel https://conda.anaconda.org/HCC tensorflow-cpucompat
    (tensorflow) yuany@Mobile238:~/.conda/envs/tensorflow$ conda install --channel https://conda.anaconda.org/HCC tensorflow-cpucompat

    卸载已经安装的tensorflow
    conda uninstall r-tensorflow

    直接用pip安装,参考如下网页
    https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/

  • 相关阅读:
    struts2 局部类型转换器
    Struts2 命名空间配置
    Struts2 国际化
    Struts2 跟踪用户状态
    Struts2
    Struts2支持的处理结果类型
    SGI STL内存配置器(一):内存泄漏?
    TP 3.2 笔记 (1)
    AOP TP框架有感
    eclipse+git
  • 原文地址:https://www.cnblogs.com/scarecrow-blog/p/10402569.html
Copyright © 2011-2022 走看看