新浦京81707con > 注册购买 > windows安装过程记录

原标题:windows安装过程记录

浏览次数:155 时间:2019-05-07

1,下载pip

[root@localhost ~]# curl -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1738k 100 1738k 0 0 456k 0 0:00:03 0:00:03 --:--:-- 456k

centos下pip安装,centospip安装



2,安装pip

root@localhost ~]# chmod a x get-pip.py

root@localhost ~]#python get-pip.py

Collecting pip
Downloading pip-9.0.3-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 480kB/s
Collecting setuptools
Downloading setuptools-39.0.1-py2.py3-none-any.whl (569kB)
100% |████████████████████████████████| 573kB 2.2MB/s
Collecting wheel
Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 2.7MB/s
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.3 setuptools-39.0.1 wheel-0.30.0

三,测试安装

[root@localhost ~]# pip install numpy
Collecting numpy
Downloading numpy-1.14.2-cp27-cp27mu-manylinux1_x86_64.whl (12.1MB)
100% |████████████████████████████████| 12.1MB 82kB/s
Installing collected packages: numpy
Successfully installed numpy-1.14.2

[root@localhost ~]# python
Python 2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>

1,下载pip

[[email protected] ~]# curl -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1738k 100 1738k 0 0 456k 0 0:00:03 0:00:03 --:--:-- 456k

作者:muhongdi@qq.com

2,安装pip

[email protected] ~]# chmod a x get-pip.py

[email protected] ~]#python get-pip.py

Collecting pip
Downloading pip-9.0.3-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 480kB/s
Collecting setuptools
Downloading setuptools-39.0.1-py2.py3-none-any.whl (569kB)
100% |████████████████████████████████| 573kB 2.2MB/s
Collecting wheel
Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 2.7MB/s
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.3 setuptools-39.0.1 wheel-0.30.0

三,测试安装

[[email protected] ~]# pip install numpy
Collecting numpy
Downloading numpy-1.14.2-cp27-cp27mu-manylinux1_x86_64.whl (12.1MB)
100% |████████████████████████████████| 12.1MB 82kB/s
Installing collected packages: numpy
Successfully installed numpy-1.14.2

[[email protected] ~]# python
Python 2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>

1,下载pip [[email protected] ~]# curl -o get-pip.py % Total % Received % Xferd Average Speed Time Time Ti...

tensorflow是google开源的人工智能程序,通过多层神经互连网完成图像识别,机器学习等AI功效。

正文简要记录一下安装tensorflow for windows的进度,20一柒年3月的新式版本,在此之前的本子对windows协助的不是很好,但以此版本看上去没什么难点了。

提示:

   紫灰是输入的吩咐

   必要在翻墙状态下安装

   须要超前设置windows的仿Linux命令行工具

   油红字体是输入的吩咐

C:UsersAdministrator>activate tensorflow

(tensorflow) C:UsersAdministrator>e:

(tensorflow) E:>cd tensorflow

(tensorflow) E:tensorflow>pip install --ignore-installed --upgrade tensorflow

Collecting tensorflow

  Downloading tensorflow-1.3.0-cp35-cp35m-win_amd64.whl (25.5MB)

    100% |████████████████████████████████| 25.5MB 26kB/s

Collecting six>=1.10.0 (from tensorflow)

  Downloading six-1.11.0-py2.py3-none-any.whl

Collecting protobuf>=3.3.0 (from tensorflow)

  Downloading protobuf-3.4.0-py2.py3-none-any.whl (375kB)

    100% |████████████████████████████████| 378kB 48kB/s

Collecting numpy>=1.11.0 (from tensorflow)

本文由新浦京81707con发布于注册购买,转载请注明出处:windows安装过程记录

关键词: 新浦京81707con tensorflow

上一篇:复杂类型,JS定义类的六种方式详解

下一篇:没有了