質問編集履歴
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -94,4 +94,18 @@
|
|
94
94
|
Bazel 0.19.0
|
95
95
|
Python 3.6.8
|
96
96
|
|
97
|
-
サイトに従ってコマンドを打っているだけなので知識はほぼありません。よろしくお願いします。
|
97
|
+
サイトに従ってコマンドを打っているだけなので知識はほぼありません。よろしくお願いします。
|
98
|
+
|
99
|
+
### 追記
|
100
|
+
bazelがWindowsにブロックされていたので、解除しました。
|
101
|
+
するとエラーが変わったので修正しています。
|
102
|
+
|
103
|
+
コマンドプロンプトでbazel helpと打つと以下のように出力され、ファイルが破損しているのはわかるのですが、どうすればいいのかわかりません。
|
104
|
+
インストールしなおせば直るものなのでしょうか?
|
105
|
+
|
106
|
+
```ここに言語を入力
|
107
|
+
C:\Users\kis>bazel help
|
108
|
+
file is invalid or corrupted (missing end of central directory record)
|
109
|
+
Cannot find central directory
|
110
|
+
FATAL: Failed to open Bazel as a zip file: success
|
111
|
+
```
|
1
bazelがWindowsでブロックされていました、実行可能にすると新たなエラーが出てきました
title
CHANGED
File without changes
|
body
CHANGED
@@ -55,7 +55,12 @@
|
|
55
55
|
|
56
56
|
(build_tf1131) c:\build\tf1131\tensorflow>pwd
|
57
57
|
/c/build/tf1131/tensorflow
|
58
|
-
|
58
|
+
c:\build\tf1131\tensorflow>python ./configure.py
|
59
|
+
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:
|
60
|
+
nul
|
61
|
+
file is invalid or corrupted (missing end of central directory record)
|
62
|
+
Cannot find central directory
|
63
|
+
FATAL: Failed to open Bazel as a zip file: success
|
59
64
|
Traceback (most recent call last):
|
60
65
|
File "./configure.py", line 1701, in <module>
|
61
66
|
main()
|
@@ -67,13 +72,9 @@
|
|
67
72
|
output = subprocess.check_output(cmd)
|
68
73
|
File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 356, in check_output
|
69
74
|
**kwargs).stdout
|
70
|
-
File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line
|
75
|
+
File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 438, in run
|
71
|
-
with Popen(*popenargs, **kwargs) as process:
|
72
|
-
File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 729, in __init__
|
73
|
-
|
76
|
+
output=stdout, stderr=stderr)
|
74
|
-
|
77
|
+
subprocess.CalledProcessError: Command '['bazel', '--batch', '--bazelrc=/dev/null', 'version']' returned non-zero exit status 36.
|
75
|
-
startupinfo)
|
76
|
-
OSError: [WinError 193] %1 は有効な Win32 アプリケーションではありません。
|
77
78
|
```
|
78
79
|
|
79
80
|
### 調べたサイト
|