@@ -37,7 +37,7 @@ Installing bazel with `brew install bazel@0.5.1` threw **Can't find bundle for b
3737- at com.sun.tools.javac.util.JavacMessages.lambda$add$0(JavacMessages.java:106)
3838```
3939#### Cause:
40- Upon investigating this, seemed like this is a common error that occurs with bazel installation via brew.
40+ Upon investigating this, seemed like this is a common error that people posted online with bazel installation via brew.
4141#### Fix:
4242Downloaded installer from bazel release version and installed.
4343``` markdown
@@ -56,28 +56,30 @@ sh ~/Downloads/bazel-0.5.4-without-jdk-installer-darwin-x86_64.sh
5656- ERROR: package contains errors: dragnn/protos
5757```
5858### Cause:
59- Bug in bazel
59+ This was a bug in bazel. It was fixed in later versions.
6060### Fix:
61- Install 0.5.4 version of bazel. This version has the fix for that.
61+ Install 0.5.4 version of bazel. ( This version has the fix for that)
6262
6363### 1.4 ~ 20 tests in bazel build failed
6464<hr />
6565
66- ### 1.4.1 Issue #1 : Upon introspection, main error source is dependency on autograd python package
66+ ### 1.4.1 Issue:
67+ Upon introspection, main error source is dependency on autograd python package
6768``` markdown
6869cat /root/.cache/bazel/_bazel_root/3b4c7ccb85580bc382ce4a52e9580003/execroot/__main__/bazel-out/local-opt/testlogs/syntaxnet/util/resources_test/test.log
6970from autograd import core as ag_core
ImportError: No module named autograd
7071```
71- ### Fix # 1 : pip install autograd
72+ ### Fix: pip install autograd
7273
73- ### 1.4.2 Issue #2 : cannot import name container_types
74+ ### 1.4.2 Issue:
75+ Cannot import name container_types
7476### Cause:
7577Upon fixing with pip install autograd succesfully installs the package and throws a name import error
76- ``` markdown
77- cat /root/.cache/bazel/_bazel_root/3b4c7ccb85580bc382ce4a52e9580003/execroot/__main__/bazel-out/local-opt/testlogs/syntaxnet/util/resources_test/test.log
78- from autograd import container_types
ImportError: cannot import name container_types
78+ ``` diff
79+ - cat /root/.cache/bazel/_bazel_root/3b4c7ccb85580bc382ce4a52e9580003/execroot/__main__/bazel-out/local-opt/testlogs/syntaxnet/util/resources_test/test.log
80+ - from autograd import container_types
ImportError: cannot import name container_types
7981```
80- ### Fix # 2 :
82+ ### Fix:
8183We need to install a compatible version of autograd (1.1.13)
8284` pip install autograd==1.1.13 ` . Also, again, make sure you have Bazel 0.5.4
8385
0 commit comments