-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build problem [cause: missing require('MarkupSafe') on Jinja2-using targets] #128
Comments
Thanks for reporting Jose, here is a Dockerfile somebody told me worked successfully for them:
Should be able to check out the particular issue you're seeing more in the afternoon, but LMK if the dockerfile works! We'll be sure to add some canonical instructions to the documentation as well. |
Just guessing, it may have been the python3 path issue, you have to set it up in the way described here: https://google.github.io/xls/#building-from-source because Bazel currently makes some assumptions about the Python environment, I believe this issue is the latest status: bazelbuild/bazel#8685 |
Thanks Jose, that commit should have fixed the issue, and there's a Dockerfile in the root directory now so you should be able to |
I run in a fresh ubuntu:20.04 docker, and it fails to build.
To get the fresh docker ubuntu 20.04
My steps inside the docker:
After installing the bazel (using the link from xls website)
In addition to the python packages, I also had to install this one (build fails earlier otherwise)
I run
bazel build -c dbg -s ...
(-s is to show failing command)I get this error:
The text was updated successfully, but these errors were encountered: