zoukankan      html  css  js  c++  java
  • 如何安装Python3.8版本的TensorFlow?

    conda install keras

    现在tensorflow 2.4 支持 3.6 3.7 3.8 可以放心安装

    pip install tensorflow
      Downloading https://mirrors.aliyun.com/pypi/packages/59/9b/tensorflow-2.5.0-cp38-cp38-manylinux2010_x86_64.whl (454.4 MB)

    升级的话可以加个 --upgrade

    pip install tensorflow --upgrade 

    如果下载速度堪忧可以试试阿里云的源 (方法百度下到处都是)

    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple



    链接:https://www.zhihu.com/question/368837255/answer/1105448522
     WARNING: The scripts pyrsa-decrypt, pyrsa-encrypt, pyrsa-keygen, pyrsa-priv2pub, pyrsa-sign and pyrsa-verify are installed in '/home/aimin/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
      WARNING: The script google-oauthlib-tool is installed in '/home/aimin/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
      WARNING: The script markdown_py is installed in '/home/aimin/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
      WARNING: The script tensorboard is installed in '/home/aimin/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
      WARNING: The scripts estimator_ckpt_converter, import_pb_to_tensorboard, saved_model_cli, tensorboard, tf_upgrade_v2, tflite_convert, toco and toco_from_protos are installed in '/home/aimin/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.


  • 相关阅读:
    完美主义之我见
    职场-位置思维
    我的读书观
    人力资源是组织的第一战略资源-论基层员工
    积累是做成事情得唯一途径
    地理信息数据处理之我见
    word 之 插入删除空行
    OSMeteorTranslationAPI(百度,有道)对比
    CsharpOSMeteorCodeGenerator(Metero代码生成器)
    HtmlDOM 文档读取研究
  • 原文地址:https://www.cnblogs.com/emanlee/p/14833854.html
Copyright © 2011-2022 走看看