質問編集履歴

2

追記

2019/06/17 09:10

投稿

Bonziri
Bonziri

スコア16

test CHANGED
File without changes
test CHANGED
@@ -191,3 +191,31 @@
191
191
 
192
192
 
193
193
  サイトに従ってコマンドを打っているだけなので知識はほぼありません。よろしくお願いします。
194
+
195
+
196
+
197
+ ### 追記
198
+
199
+ bazelがWindowsにブロックされていたので、解除しました。
200
+
201
+ するとエラーが変わったので修正しています。
202
+
203
+
204
+
205
+ コマンドプロンプトでbazel helpと打つと以下のように出力され、ファイルが破損しているのはわかるのですが、どうすればいいのかわかりません。
206
+
207
+ インストールしなおせば直るものなのでしょうか?
208
+
209
+
210
+
211
+ ```ここに言語を入力
212
+
213
+ C:\Users\kis>bazel help
214
+
215
+ file is invalid or corrupted (missing end of central directory record)
216
+
217
+ Cannot find central directory
218
+
219
+ FATAL: Failed to open Bazel as a zip file: success
220
+
221
+ ```

1

bazelがWindowsでブロックされていました、実行可能にすると新たなエラーが出てきました

2019/06/17 09:10

投稿

Bonziri
Bonziri

スコア16

test CHANGED
File without changes
test CHANGED
@@ -112,7 +112,17 @@
112
112
 
113
113
  /c/build/tf1131/tensorflow
114
114
 
115
- (build_tf1131) c:\build\tf1131\tensorflow>python ./configure.py
115
+ c:\build\tf1131\tensorflow>python ./configure.py
116
+
117
+ 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:
118
+
119
+ nul
120
+
121
+ file is invalid or corrupted (missing end of central directory record)
122
+
123
+ Cannot find central directory
124
+
125
+ FATAL: Failed to open Bazel as a zip file: success
116
126
 
117
127
  Traceback (most recent call last):
118
128
 
@@ -136,19 +146,11 @@
136
146
 
137
147
  **kwargs).stdout
138
148
 
139
- File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 423, in run
149
+ File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 438, in run
140
150
 
141
- with Popen(*popenargs, **kwargs) as process:
151
+ output=stdout, stderr=stderr)
142
152
 
143
- File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 729, in __init__
144
-
145
- restore_signals, start_new_session)
146
-
147
- File "C:\Users\kis\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 1017, in _execute_child
153
+ subprocess.CalledProcessError: Command '['bazel', '--batch', '--bazelrc=/dev/null', 'version']' returned non-zero exit status 36.
148
-
149
- startupinfo)
150
-
151
- OSError: [WinError 193] %1 は有効な Win32 アプリケーションではありません。
152
154
 
153
155
  ```
154
156