| commit | 5b900cfe4b3b848f577315a0dde09a729f770e95 | [log] [tgz] |
|---|---|---|
| author | Mihai Maruseac <mihaimaruseac@google.com> | Fri Jun 21 16:50:12 2019 |
| committer | Gunhan Gulsoy <gunan@google.com> | Fri Jun 21 17:20:35 2019 |
| tree | d9fb9b5f500af5e533799e694d16c83bd7577159 | |
| parent | 41e0a4f56cf8d78cccaf8abc23d37c63e99dd7e0 [diff] |
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.
Documentation |
|---|
TensorFlow is an open source software library for numerical computation using data flow graphs. The graph nodes represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture enables you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.
TensorFlow was originally developed by researchers and engineers working on the Google Brain team within Google's Machine Intelligence Research organization for the purposes of conducting machine learning and deep neural networks research. The system is general enough to be applicable in a wide variety of other domains, as well.
TensorFlow provides stable Python API and C APIs as well as without API backwards compatibility guarantee like C++, Go, Java, JavaScript and Swift.
Keep up to date with release announcements and security updates by subscribing to announce@tensorflow.org.
See Installing TensorFlow for instructions on how to install our release binaries or how to build from source.
People who are a little more adventurous can also try our nightly binaries:
Nightly pip packages
pip install tf-nightly or pip install tf-nightly-gpu in a clean environment to install the nightly TensorFlow build. We support CPU and GPU packages on Linux, Mac, and Windows.$ python
>>> import tensorflow as tf >>> tf.enable_eager_execution() >>> tf.add(1, 2) 3 >>> hello = tf.constant('Hello, TensorFlow!') >>> hello.numpy() 'Hello, TensorFlow!'
Learn more examples about how to do specific tasks in TensorFlow at the tutorials page of tensorflow.org.
If you want to contribute to TensorFlow, be sure to review the contribution guidelines. This project adheres to TensorFlow's code of conduct. By participating, you are expected to uphold this code.
We use GitHub issues for tracking requests and bugs. So please see TensorFlow Discuss for general questions and discussion, and please direct specific questions to Stack Overflow.
The TensorFlow project strives to abide by generally accepted best practices in open-source software development:
| Build Type | Status | Artifacts |
|---|---|---|
| Linux CPU | pypi | |
| Linux GPU | pypi | |
| Linux XLA | TBA | |
| MacOS | pypi | |
| Windows CPU | pypi | |
| Windows GPU | pypi | |
| Android | ||
| Raspberry Pi 0 and 1 | Py2 Py3 | |
| Raspberry Pi 2 and 3 | Py2 Py3 |
| Build Type | Status | Artifacts |
|---|---|---|
| IBM s390x | TBA | |
| IBM ppc64le CPU | TBA | |
| IBM ppc64le GPU | TBA | |
| Linux CPU with Intel® MKL-DNN Nightly | Nightly | |
| Linux CPU with Intel® MKL-DNN Python 2.7 Linux CPU with Intel® MKL-DNN Python 3.5 Linux CPU with Intel® MKL-DNN Python 3.6 | 1.10.0 py2.7 1.10.0 py3.5 1.10.0 py3.6 |
Learn more about the TensorFlow community at the community page of tensorflow.org for a few ways to participate.