Update install_python3.6_pip_packages.sh to use apt.
Now python3.6 can be installed from apt and it will be installed with all submodules. If we're compiling Python from source, during compilation we get: ``` The necessary bits to build these optional modules were not found: _bz2 _dbm _gdbm _lzma _sqlite3 _tkinter readline ``` which then results in ``` ==================== Test output for //bazel_pip/tensorflow/contrib/summary:summary_ops_test: Running test /tmpfs/src/github/tensorflow/bazel-ci_build-cache/.cache/bazel/_bazel_kbuilder/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/k8-opt/bin/bazel_pip/tensorflow/contrib/summary/summary_ops_test.runfiles/org_tensorflow/bazel_pip/tensorflow/contrib/summary/summary_ops_test on GPU 0 Traceback (most recent call last): File "/tmpfs/src/github/tensorflow/bazel-ci_build-cache/.cache/bazel/_bazel_kbuilder/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/k8-opt/bin/bazel_pip/tensorflow/contrib/summary/summary_ops_test.runfiles/org_tensorflow/bazel_pip/tensorflow/contrib/summary/summary_ops_test.py", line 23, in <module> import sqlite3 File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in <module> from sqlite3.dbapi2 import * File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module> from _sqlite3 import * ModuleNotFoundError: No module named '_sqlite3' ================================================================================ ``` and similar failures which then block releasing patch version.
Showing
想要评论请 注册 或 登录