2016-05-23 61 views
0

我下面從syntaxnet的Github上庫的步驟巴澤爾建立Syntaxnet返回失敗

運行

bazel test syntaxnet/... util/utf8/... 

我收到以下錯誤後:

ERROR: Error downloading http://www.ijg.org/files/jpegsrc.v9a.tar.gz to /home/nikita/.cache/bazel/_bazel_nikita/40a11335a37800034c02daf7fa7a6e28/external/jpeg_archive/jpegsrc.v9a.tar.gz: Connection reset and referenced by '@tf//tensorflow/core/platform/default/build_config:platformlib'.

ERROR: Loading failed; build aborted. INFO: Elapsed time: 1075.928s

ERROR: Couldn't start the build. Unable to run tests.

請建議的相同

回答

0

本來,如果有任何與巴澤爾有關的錯誤,方便的瓦特AY可能是通過以下步驟重新安裝巴澤勒:

運行安裝程序

$ chmod +x bazel-version-installer-os.sh 
$ ./bazel-version-installer-os.sh --user 
$ rm bazel-version-installer-os.sh 
$ sudo chown $USER:$USER ~/. cache/bazel/ 
$ export PATH="$PATH:$HOME/bin" 
0

如果您使用的是Mac,跳過該命令,然後運行這個代替

bazel test --linkopt=-headerpad_max_install_names \ 
syntaxnet/... util/utf8/...