Skip to content
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

Fix ImportError: No module named builtins #29233

Merged
merged 1 commit into from May 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow/tools/ci_build/install/install_pip_packages.sh
Expand Up @@ -42,8 +42,8 @@ pip3 install virtualenv
# Install six and future.
pip2 install --upgrade six==1.12.0
pip3 install --upgrade six==1.12.0
pip2 install future
pip3 install future
pip2 install future>=0.17.1
pip3 install future>=0.17.1

# Install absl-py.
pip2 install --upgrade absl-py
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl
Expand Up @@ -31,6 +31,9 @@ RUN ${PYTHON} set-build-env.py -p ${TARGET_PLATFORM} -f /root/.mkl.bazelrc --dis
# Pull the compiler flags we just wrote into root user's .bazelrc file
RUN echo "import /root/.mkl.bazelrc" >>/root/.bazelrc

# Install futures>=0.17.1 for Python2.7 compatibility mode
RUN ${PIP} install future>=0.17.1

RUN bazel --bazelrc=/root/.bazelrc build -c opt \
tensorflow/tools/pip_package:build_pip_package && \
bazel-bin/tensorflow/tools/pip_package/build_pip_package "${WHL_DIR}" && \
Expand Down