Sunteți pe pagina 1din 23

(venv) C:\Users\john>python -c "import tensorflow as tf; tf.

enable_eager_execution();
print(tf.reduce_sum(tf.random_normal([1000, 1000])))"

2018-12-10 00:05:03.952617: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU


supports instructions that this TensorFlow binary was not compiled to use: AVX2

tf.Tensor(309.68707, shape=(), dtype=float32)

Microsoft Windows [Version 10.0.17134.407]

(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\john>pip3 install -U pip virtualenv

Requirement already up-to-date: pip in c:\users\john\documents\python36\lib\site-packages (18.1)

Requirement already up-to-date: virtualenv in c:\users\john\documents\python36\lib\site-packages


(16.1.0)

C:\Users\john>virtualenv --system-site-packages -p python3 ./venv


The path python3 (from --python=python3) does not exist

C:\Users\john>pip install --upgrade virtualenv

Requirement already up-to-date: virtualenv in c:\users\john\documents\python36\lib\site-packages


(16.1.0)

C:\Users\john>virtualenv --system-site-packages -p python ./venv

Running virtualenv with interpreter C:\Users\john\Documents\Python36\python.exe

Using base prefix 'C:\\Users\\john\\Documents\\Python36'

New python executable in C:\Users\john\venv\Scripts\python.exe

Installing setuptools, pip, wheel...

done.

C:\Users\john>.\venv\Scripts\activate

(venv) C:\Users\john>pip install --upgrade pip

Requirement already up-to-date: pip in c:\users\john\venv\lib\site-packages (18.1)

(venv) C:\Users\john>pip list

Package Version

---------- -------

pip 18.1

setuptools 40.6.2

virtualenv 16.1.0

wheel 0.32.3

(venv) C:\Users\john>pip install --upgrade tensorflow

Collecting tensorflow

Downloading
https://files.pythonhosted.org/packages/05/cd/c171d2e33c0192b04560ce864c26eba83fed888fe5c
d9ded661b2702f2ae/tensorflow-1.12.0-cp36-cp36m-win_amd64.whl (45.9MB)

100% |████████████████████████████████| 45.9MB 286kB/s


Collecting keras-preprocessing>=1.0.5 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/fc/94/74e0fa783d3fc07e41715973435dd051ca89c550881b
3454233c39c73e69/Keras_Preprocessing-1.0.5-py2.py3-none-any.whl

Collecting astor>=0.6.0 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b
9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl

Collecting absl-py>=0.1.6 (from tensorflow)

Collecting grpcio>=1.8.6 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/2f/bc/671ce1e13032cfaf6d4d8901019d376f8ce7f18ee046
435bf18ee5782630/grpcio-1.17.0-cp36-cp36m-win_amd64.whl

Collecting six>=1.10.0 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea9
0a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Requirement already satisfied, skipping upgrade: wheel>=0.26 in c:\users\john\venv\lib\site-


packages (from tensorflow) (0.32.3)

Collecting keras-applications>=1.0.6 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/3f/c4/2ff40221029f7098d58f8d7fb99b97e8100f3293f9856
f0fb5834bef100b/Keras_Applications-1.0.6-py2.py3-none-any.whl

Collecting protobuf>=3.6.1 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/e8/df/d606d07cff0fc8d22abcc54006c0247002d11a7f2d21
8eb008d48e76851d/protobuf-3.6.1-cp36-cp36m-win_amd64.whl

Collecting termcolor>=1.1.0 (from tensorflow)

Collecting numpy>=1.13.3 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/51/70/7096a735b27359dbc0c380b23b9c9bd05fea62233f9
5849c43a6b02c5f40/numpy-1.15.4-cp36-none-win_amd64.whl

Collecting gast>=0.2.0 (from tensorflow)

Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow)

Using cached
https://files.pythonhosted.org/packages/e0/d0/65fe48383146199f16dbd5999ef226b87bce63ad5cd
73c840cf722637969/tensorboard-1.12.0-py3-none-any.whl
Collecting h5py (from keras-applications>=1.0.6->tensorflow)

Using cached
https://files.pythonhosted.org/packages/12/6c/00c38c5ce9322f1cc421d93217c44739646a106c618
59622eccc297a5c05/h5py-2.8.0-cp36-cp36m-win_amd64.whl

Requirement already satisfied, skipping upgrade: setuptools in c:\users\john\venv\lib\site-packages


(from protobuf>=3.6.1->tensorflow) (40.6.2)

Collecting markdown>=2.6.8 (from tensorboard<1.13.0,>=1.12.0->tensorflow)

Using cached
https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3
a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl

Collecting werkzeug>=0.11.10 (from tensorboard<1.13.0,>=1.12.0->tensorflow)

Using cached
https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682be
f8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl

Installing collected packages: six, numpy, keras-preprocessing, astor, absl-py, grpcio, h5py, keras-
applications, protobuf, termcolor, gast, markdown, werkzeug, tensorboard, tensorflow

Successfully installed absl-py-0.6.1 astor-0.7.1 gast-0.2.0 grpcio-1.17.0 h5py-2.8.0 keras-applications-


1.0.6 keras-preprocessing-1.0.5 markdown-3.0.1 numpy-1.15.4 protobuf-3.6.1 six-1.11.0
tensorboard-1.12.0 tensorflow-1.12.0 termcolor-1.1.0 werkzeug-0.14.1

(venv) C:\Users\john>python -c "import tensorflow as tf; tf.enable_eager_execution();


print(tf.reduce_sum(tf.random_normal([1000, 1000])))"

2018-12-10 00:05:03.952617: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU


supports instructions that this TensorFlow binary was not compiled to use: AVX2

tf.Tensor(309.68707, shape=(), dtype=float32)

(venv) C:\Users\john>bazel

Extracting Bazel installation...

WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using
the command "bazel shutdown".

INFO: Invocation ID: 4a9decb7-ae91-4606-9aca-8fe66cce68cd

[bazel release 0.20.0]

Usage: bazel <command> <options> ...

Available commands:

analyze-profile Analyzes build profile data.


aquery Analyzes the given targets and queries the action graph.

build Builds the specified targets.

canonicalize-flags Canonicalizes a list of bazel options.

clean Removes output files and optionally stops the server.

coverage Generates code coverage report for specified test targets.

cquery Loads, analyzes, and queries the specified targets w/ configurations.

dump Dumps the internal state of the bazel server process.

fetch Fetches external repositories that are prerequisites to the targets.

help Prints help for commands, or the index.

info Displays runtime info about the bazel server.

license Prints the license of this software.

mobile-install Installs targets to mobile devices.

print_action Prints the command line args for compiling a file.

query Executes a dependency graph query.

run Runs the specified target.

shutdown Stops the bazel server.

sync Syncs all repositories specifed in the workspace file

test Builds and runs the specified test targets.

version Prints version information for bazel.

Getting more help:

bazel help <command>

Prints help and options for <command>.

bazel help startup_options

Options for the JVM hosting bazel.

bazel help target-syntax

Explains the syntax for specifying targets.

bazel help info-keys

Displays a list of keys used by the info command.

(venv) C:\Users\john>
(venv) C:\Users\john>

(venv) C:\Users\john>

(venv) C:\Users\john>

(venv) C:\Users\john>pacman -S git patch unzip

resolving dependencies...

looking for conflicting packages...

Packages (37) db-5.3.28-2 expat-2.2.5-1 gdbm-1.11-3 heimdal-1.5.3-9 libgdbm-1.11-3 openssh-


7.6p1-2 perl-5.24.4-1

perl-Authen-SASL-2.16-2 perl-Convert-BinHex-1.125-1 perl-Encode-Locale-1.05-1 perl-


Error-0.17025-1

perl-File-Listing-6.04-2 perl-HTML-Parser-3.72-2 perl-HTML-Tagset-3.20-2 perl-HTTP-


Cookies-6.04-1

perl-HTTP-Daemon-6.01-2 perl-HTTP-Date-6.02-2 perl-HTTP-Message-6.14-1 perl-HTTP-


Negotiate-6.01-2

perl-IO-Socket-SSL-2.054-1 perl-IO-stringy-2.111-1 perl-LWP-MediaTypes-6.02-2 perl-


MIME-tools-5.509-1

perl-MailTools-2.20-1 perl-Net-HTTP-6.17-1 perl-Net-SMTP-SSL-1.04-1 perl-Net-SSLeay-


1.84-1

perl-TermReadKey-2.37-2 perl-TimeDate-2.30-2 perl-Try-Tiny-0.30-1 perl-URI-1.73-1

perl-WWW-RobotRules-6.02-2 perl-libwww-6.31-2 vim-8.1.0022-1 git-2.17.1-1 patch-


2.7.6-1 unzip-6.0-2

Total Download Size: 27.22 MiB

Total Installed Size: 127.07 MiB

:: Proceed with installation? [Y/n] Y

:: Retrieving packages...

expat-2.2.5-1-x86_64 38.1 KiB 48.1K/s 00:01


[#######################################] 100%

vim-8.1.0022-1-x86_64 6.6 MiB 375K/s 00:18


[#######################################] 100%

heimdal-1.5.3-9-x86_64 546.6 KiB 2.85M/s 00:00


[#######################################] 100%
openssh-7.6p1-2-x86_64 679.6 KiB 4.40M/s 00:00
[#######################################] 100%

db-5.3.28-2-x86_64 41.7 KiB 1017K/s 00:00


[#######################################] 100%

libgdbm-1.11-3-x86_64 20.4 KiB 323K/s 00:00


[#######################################] 100%

gdbm-1.11-3-x86_64 108.5 KiB 1506K/s 00:00


[#######################################] 100%

perl-5.24.4-1-x86_64 12.6 MiB 2.04M/s 00:06


[#######################################] 100%

perl-Error-0.17025-1-any 31.7 KiB 3.10M/s 00:00


[#######################################] 100%

perl-Authen-SASL-2.16-2-any 42.4 KiB 2.30M/s 00:00


[#######################################] 100%

perl-Encode-Locale-1.05-1-any 24.3 KiB 2.15M/s 00:00


[#######################################] 100%

perl-HTTP-Date-6.02-2-any 8.6 KiB 8.42M/s 00:00


[#######################################] 100%

perl-File-Listing-6.04-2-any 7.7 KiB 1923K/s 00:00


[#######################################] 100%

perl-HTML-Tagset-3.20-2-any 10.3 KiB 5.01M/s 00:00


[#######################################] 100%

perl-HTML-Parser-3.72-2-x86_64 91.3 KiB 2.41M/s 00:00


[#######################################] 100%

perl-LWP-MediaTypes-6.02-2-any 18.0 KiB 2.94M/s 00:00


[#######################################] 100%

perl-URI-1.73-1-any 90.7 KiB 251K/s 00:00


[#######################################] 100%

perl-HTTP-Message-6.14-1-any 86.5 KiB 2.48M/s 00:00


[#######################################] 100%

perl-HTTP-Cookies-6.04-1-any 34.5 KiB 1501K/s 00:00


[#######################################] 100%

perl-HTTP-Daemon-6.01-2-any 14.2 KiB 1779K/s 00:00


[#######################################] 100%

perl-HTTP-Negotiate-6.01-2-any 11.4 KiB 216K/s 00:00


[#######################################] 100%

perl-Net-HTTP-6.17-1-any 36.2 KiB 1291K/s 00:00


[#######################################] 100%
perl-WWW-RobotRules-6.02-2-any 12.2 KiB 5.98M/s 00:00
[#######################################] 100%

perl-Try-Tiny-0.30-1-any 32.0 KiB 727K/s 00:00


[#######################################] 100%

perl-libwww-6.31-2-any 138.9 KiB 1715K/s 00:00


[#######################################] 100%

perl-TimeDate-2.30-2-any 35.9 KiB 1382K/s 00:00


[#######################################] 100%

perl-MailTools-2.20-1-any 74.9 KiB 1414K/s 00:00


[#######################################] 100%

perl-IO-stringy-2.111-1-any 52.6 KiB 1644K/s 00:00


[#######################################] 100%

perl-Convert-BinHex-1.125-1-any 42.8 KiB 1339K/s 00:00


[#######################################] 100%

perl-MIME-tools-5.509-1-any 194.9 KiB 2.00M/s 00:00


[#######################################] 100%

perl-Net-SSLeay-1.84-1-x86_64 219.0 KiB 2.23M/s 00:00


[#######################################] 100%

perl-IO-Socket-SSL-2.054-1-any 147.9 KiB 2.63M/s 00:00


[#######################################] 100%

perl-Net-SMTP-SSL-1.04-1-any 18.4 KiB 2.25M/s 00:00


[#######################################] 100%

perl-TermReadKey-2.37-2-x86_64 33.3 KiB 1386K/s 00:00


[#######################################] 100%

git-2.17.1-1-x86_64 4.9 MiB 1704K/s 00:03


[#######################################] 100%

patch-2.7.6-1-x86_64 101.6 KiB 1953K/s 00:00


[#######################################] 100%

unzip-6.0-2-x86_64 93.1 KiB 1330K/s 00:00


[#######################################] 100%

(37/37) checking keys in keyring


[#######################################] 100%

(37/37) checking package integrity


[#######################################] 100%

(37/37) loading package files


[#######################################] 100%

(37/37) checking for file conflicts


[#######################################] 100%
(37/37) checking available disk space
[#######################################] 100%

:: Processing package changes...

( 1/37) installing expat [#######################################]


100%

( 2/37) installing vim [#######################################]


100%

( 3/37) installing heimdal [#######################################]


100%

( 4/37) installing openssh [#######################################]


100%

( 5/37) installing db [#######################################]


100%

( 6/37) installing libgdbm [#######################################]


100%

( 7/37) installing gdbm [#######################################]


100%

( 8/37) installing perl [#######################################]


100%

( 9/37) installing perl-Error [#######################################]


100%

(10/37) installing perl-Authen-SASL


[#######################################] 100%

(11/37) installing perl-Encode-Locale


[#######################################] 100%

(12/37) installing perl-HTTP-Date


[#######################################] 100%

(13/37) installing perl-File-Listing


[#######################################] 100%

(14/37) installing perl-HTML-Tagset


[#######################################] 100%

(15/37) installing perl-HTML-Parser


[#######################################] 100%

(16/37) installing perl-LWP-MediaTypes


[#######################################] 100%

(17/37) installing perl-URI [#######################################]


100%
(18/37) installing perl-HTTP-Message
[#######################################] 100%

(19/37) installing perl-HTTP-Cookies


[#######################################] 100%

(20/37) installing perl-HTTP-Daemon


[#######################################] 100%

(21/37) installing perl-HTTP-Negotiate


[#######################################] 100%

(22/37) installing perl-Net-HTTP


[#######################################] 100%

(23/37) installing perl-WWW-RobotRules


[#######################################] 100%

(24/37) installing perl-Try-Tiny


[#######################################] 100%

(25/37) installing perl-libwww


[#######################################] 100%

Optional dependencies for perl-libwww

perl-LWP-Protocol-HTTPS: for https:// url schemes

(26/37) installing perl-TimeDate


[#######################################] 100%

(27/37) installing perl-MailTools


[#######################################] 100%

(28/37) installing perl-IO-stringy


[#######################################] 100%

(29/37) installing perl-Convert-BinHex


[#######################################] 100%

module test... pass.

(30/37) installing perl-MIME-tools


[#######################################] 100%

(31/37) installing perl-Net-SSLeay


[#######################################] 100%

(32/37) installing perl-IO-Socket-SSL


[#######################################] 100%

(33/37) installing perl-Net-SMTP-SSL


[#######################################] 100%

(34/37) installing perl-TermReadKey


[#######################################] 100%
(35/37) installing git [#######################################]
100%

Optional dependencies for git

python2: various helper scripts

subversion: git svn

(36/37) installing patch [#######################################]


100%

Optional dependencies for patch

ed: for patch -e functionality

(37/37) installing unzip [#######################################]


100%

(venv) C:\Users\john>git clone https://github.com/tensorflow/tensorflow.git

Cloning into 'tensorflow'...

remote: Enumerating objects: 481799, done.

remote: Total 481799 (delta 0), reused 0 (delta 0), pack-reused 481799

Receiving objects: 100% (481799/481799), 284.74 MiB | 2.39 MiB/s, done.

Resolving deltas: 100% (385699/385699), done.

Checking out files: 100% (13987/13987), done.

(venv) C:\Users\john>cd tensorflow

(venv) C:\Users\john\tensorflow>git checkout r1.12

Checking out files: 100% (7592/7592), done.

Branch 'r1.12' set up to track remote branch 'r1.12' from 'origin'.

Switched to a new branch 'r1.12'

(venv) C:\Users\john\tensorflow>python ./configure.py

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/tools/bazel.rc

nul
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using
the command "bazel shutdown".

INFO: Invocation ID: 3935e59a-4a2f-4a6e-914f-fbc329daf76d

You have bazel 0.20.0 installed.

Please specify the location of python. [Default is C:\Users\john\venv\Scripts\python.exe]:

Traceback (most recent call last):

File "<string>", line 1, in <module>

AttributeError: module 'site' has no attribute 'getsitepackages'

Found possible Python library paths:

C:\Users\john\venv\Lib\site-packages

Please input the desired Python library path to use. Default is [C:\Users\john\venv\Lib\site-
packages]

Do you wish to build TensorFlow with Apache Ignite support? [Y/n]: Y

Apache Ignite support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]: y

XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]: y

ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y

CUDA support will be enabled for TensorFlow.

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:
Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing
Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]: q

Invalid path to CUDA 9.0 toolkit. ['C:/Users/john/tensorflow/q\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:
Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:
Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]:

Please specify the location where CUDA 9.0 toolkit is installed. Refer to README.md for more
details. [Default is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0]:

Invalid path to CUDA 9.0 toolkit. ['C:/Program Files/NVIDIA GPU Computing


Toolkit/CUDA/v9.0\\lib/x64/cudart.lib'] cannot be found

Traceback (most recent call last):

File "./configure.py", line 1693, in <module>

main()

File "./configure.py", line 1608, in main

set_tf_cuda_version(environ_cp)

File "./configure.py", line 878, in set_tf_cuda_version

_DEFAULT_PROMPT_ASK_ATTEMPTS)

__main__.UserInputError: Invalid TF_CUDA_SETTING setting was provided 10 times in a row.


Assuming to be a scripting mistake.

(venv) C:\Users\john\tensorflow>

(venv) C:\Users\john\tensorflow>

(venv) C:\Users\john\tensorflow>

(venv) C:\Users\john\tensorflow>python ./configure.py

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:
c:\users\john\tensorflow/tools/bazel.rc

nul

WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using
the command "bazel shutdown".

INFO: Invocation ID: 4037f800-e356-4731-a2f2-df4093d5218a

You have bazel 0.20.0 installed.

Please specify the location of python. [Default is C:\Users\john\venv\Scripts\python.exe]:

Traceback (most recent call last):

File "<string>", line 1, in <module>

AttributeError: module 'site' has no attribute 'getsitepackages'

Found possible Python library paths:

C:\Users\john\venv\Lib\site-packages

Please input the desired Python library path to use. Default is [C:\Users\john\venv\Lib\site-
packages]

Do you wish to build TensorFlow with Apache Ignite support? [Y/n]:

Apache Ignite support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]:

No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]:

No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]:

No CUDA support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is
specified [Default is /arch:AVX]:
Would you like to override eigen strong inline for some C++ compilation to reduce the compilation
time? [Y/n]:

Eigen strong inline overridden.

(venv) C:\Users\john\tensorflow>bazel build --config=opt


//tensorflow/tools/pip_package:build_pip_package

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/.bazelrc

c:\users\john\tensorflow/tools/bazel.rc

Starting local Bazel server and connecting to it...

INFO: Options provided by the client:

Inherited 'common' options: --isatty=1 --terminal_columns=120

INFO: Options provided by the client:

'build' options: --python_path=C:/Users/john/venv/Scripts/python.exe

INFO: Reading rc options for 'build' from c:\users\john\tensorflow\.tf_configure.bazelrc:

'build' options: --action_env PYTHON_BIN_PATH=C:/Users/john/venv/Scripts/python.exe --


action_env PYTHON_LIB_PATH=C:/Users/john/venv/Lib/site-packages --
python_path=C:/Users/john/venv/Scripts/python.exe --define with_ignite_support=true --
action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_ROCM=0 --action_env
TF_NEED_CUDA=0 --action_env TF_DOWNLOAD_CLANG=0 --config monolithic --copt=-w --
host_copt=-w --verbose_failures --distinct_host_configuration=false --
experimental_shortened_obj_file_path=true --define=no_tensorflow_py_deps=true --
define=override_eigen_strong_inline=true

ERROR: Config value monolithic is not defined in any .rc file

INFO: Invocation ID: a911c719-651a-4089-ae1b-883504be017b

(venv) C:\Users\john\tensorflow>bazel build --config=opt


//tensorflow/tools/pip_package:build_pip_package

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/.bazelrc

c:\users\john\tensorflow/tools/bazel.rc
INFO: Options provided by the client:

Inherited 'common' options: --isatty=1 --terminal_columns=120

INFO: Options provided by the client:

'build' options: --python_path=C:/Users/john/venv/Scripts/python.exe

INFO: Reading rc options for 'build' from c:\users\john\tensorflow\.tf_configure.bazelrc:

'build' options: --action_env PYTHON_BIN_PATH=C:/Users/john/venv/Scripts/python.exe --


action_env PYTHON_LIB_PATH=C:/Users/john/venv/Lib/site-packages --
python_path=C:/Users/john/venv/Scripts/python.exe --define with_ignite_support=true --
action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_ROCM=0 --action_env
TF_NEED_CUDA=0 --action_env TF_DOWNLOAD_CLANG=0 --config monolithic --copt=-w --
host_copt=-w --verbose_failures --distinct_host_configuration=false --
experimental_shortened_obj_file_path=true --define=no_tensorflow_py_deps=true --
define=override_eigen_strong_inline=true

ERROR: Config value monolithic is not defined in any .rc file

INFO: Invocation ID: 66467db3-8d54-48e9-a291-154e2bc55c5b

(venv) C:\Users\john\tensorflow>python ./configure.py

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/tools/bazel.rc

nul

WARNING: Running Bazel server needs to be killed, because the startup options are different.

WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using
the command "bazel shutdown".

INFO: Invocation ID: 10b01fe4-3229-426c-bdca-04c725a5ea6c

You have bazel 0.20.0 installed.

Please specify the location of python. [Default is C:\Users\john\venv\Scripts\python.exe]:

Traceback (most recent call last):

File "<string>", line 1, in <module>

AttributeError: module 'site' has no attribute 'getsitepackages'

Found possible Python library paths:

C:\Users\john\venv\Lib\site-packages
Please input the desired Python library path to use. Default is [C:\Users\john\venv\Lib\site-
packages]

Do you wish to build TensorFlow with Apache Ignite support? [Y/n]: n

No Apache Ignite support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]:

No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]:

No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]:

No CUDA support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is
specified [Default is /arch:AVX]:

Would you like to override eigen strong inline for some C++ compilation to reduce the compilation
time? [Y/n]:

Eigen strong inline overridden.

(venv) C:\Users\john\tensorflow>bazel build --config=opt


//tensorflow/tools/pip_package:build_pip_package

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/.bazelrc

c:\users\john\tensorflow/tools/bazel.rc

Starting local Bazel server and connecting to it...

INFO: Options provided by the client:

Inherited 'common' options: --isatty=1 --terminal_columns=120


INFO: Options provided by the client:

'build' options: --python_path=C:/Users/john/venv/Scripts/python.exe

INFO: Reading rc options for 'build' from c:\users\john\tensorflow\.tf_configure.bazelrc:

'build' options: --action_env PYTHON_BIN_PATH=C:/Users/john/venv/Scripts/python.exe --


action_env PYTHON_LIB_PATH=C:/Users/john/venv/Lib/site-packages --
python_path=C:/Users/john/venv/Scripts/python.exe --action_env TF_NEED_OPENCL_SYCL=0 --
action_env TF_NEED_ROCM=0 --action_env TF_NEED_CUDA=0 --action_env
TF_DOWNLOAD_CLANG=0 --config monolithic --copt=-w --host_copt=-w --verbose_failures --
distinct_host_configuration=false --experimental_shortened_obj_file_path=true --
define=no_tensorflow_py_deps=true --define=override_eigen_strong_inline=true

ERROR: Config value monolithic is not defined in any .rc file

INFO: Invocation ID: 6e216e36-7113-4c84-9a9b-e4dfde7177b0

(venv) C:\Users\john\tensorflow>notepad

(venv) C:\Users\john\tensorflow>bazel build --config=opt


//tensorflow/tools/pip_package:build_pip_package

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/.bazelrc

c:\users\john\tensorflow/tools/bazel.rc

WARNING: Option 'experimental_shortened_obj_file_path' is deprecated

INFO: Invocation ID: ab204133-c8f1-4557-a762-863e47d3ab0d

ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no
such package '@io_bazel_rules_closure//closure': The native http_archive rule is deprecated.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.

Use --incompatible_remove_native_http_archive=false to temporarily continue using the native


rule.

ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no
such package '@io_bazel_rules_closure//closure': The native http_archive rule is deprecated.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.

Use --incompatible_remove_native_http_archive=false to temporarily continue using the native


rule.

INFO: Elapsed time: 0.595s

INFO: 0 processes.

FAILED: Build did NOT complete successfully (0 packages loaded)


Fetching @io_bazel_rules_closure; fetching

(venv) C:\Users\john\tensorflow>python ./configure.py

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/tools/bazel.rc

nul

WARNING: Running Bazel server needs to be killed, because the startup options are different.

WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using
the command "bazel shutdown".

INFO: Invocation ID: d0e16549-9357-4b69-8068-b9886aeb76ed

You have bazel 0.20.0 installed.

Please specify the location of python. [Default is C:\Users\john\venv\Scripts\python.exe]:

Traceback (most recent call last):

File "<string>", line 1, in <module>

AttributeError: module 'site' has no attribute 'getsitepackages'

Found possible Python library paths:

C:\Users\john\venv\Lib\site-packages

Please input the desired Python library path to use. Default is [C:\Users\john\venv\Lib\site-
packages]

Do you wish to build TensorFlow with Apache Ignite support? [Y/n]:

Apache Ignite support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]:

No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]:

No ROCm support will be enabled for TensorFlow.


Do you wish to build TensorFlow with CUDA support? [y/N]:

No CUDA support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is
specified [Default is /arch:AVX]:

Would you like to override eigen strong inline for some C++ compilation to reduce the compilation
time? [Y/n]:

Eigen strong inline overridden.

(venv) C:\Users\john\tensorflow>bazel build --config=opt


//tensorflow/tools/pip_package:build_pip_package

WARNING: The following rc files are no longer being read, please transfer their contents or import
their path into one of the standard rc files:

c:\users\john\tensorflow/.bazelrc

c:\users\john\tensorflow/tools/bazel.rc

Starting local Bazel server and connecting to it...

INFO: Options provided by the client:

Inherited 'common' options: --isatty=1 --terminal_columns=120

INFO: Options provided by the client:

'build' options: --python_path=C:/Users/john/venv/Scripts/python.exe

INFO: Reading rc options for 'build' from c:\users\john\tensorflow\.tf_configure.bazelrc:

'build' options: --action_env PYTHON_BIN_PATH=C:/Users/john/venv/Scripts/python.exe --


action_env PYTHON_LIB_PATH=C:/Users/john/venv/Lib/site-packages --
python_path=C:/Users/john/venv/Scripts/python.exe --define with_ignite_support=true --
action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_ROCM=0 --action_env
TF_NEED_CUDA=0 --action_env TF_DOWNLOAD_CLANG=0 --config monolithic --copt=-w --
host_copt=-w --verbose_failures --distinct_host_configuration=false --
experimental_shortened_obj_file_path=true --define=no_tensorflow_py_deps=true --
define=override_eigen_strong_inline=true

ERROR: Config value monolithic is not defined in any .rc file

INFO: Invocation ID: 84ff0998-d2fe-4515-bbef-99a12ad7dcb4


(venv) C:\Users\john\tensorflow>

S-ar putea să vă placă și