- Environment :: GPU
- Environment :: GPU :: NVIDIA CUDA
- Environment :: GPU :: NVIDIA CUDA :: 11.2
- Intended Audience :: Education
- Intended Audience :: Science/Research
- License :: OSI Approved :: Apache Software License
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Artificial Intelligence
- Topic :: Scientific/Engineering :: Mathematics
- Topic :: Software Development :: Libraries :: Python Modules
When you know about this project and you want to new install tensorflow to support your project or you get trouble as ModuleNotFoundError: No module named "tensorflow" or ImportError: cannot import name "tensorflow" in your project, let follow this tutorial to install tensorflow
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_tensorflow_env
- Active the virtual environment
test_tensorflow_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_tensorflow_env
- Active the virtual environment
source test_tensorflow_env/bin/active
To install tensorflow on Windows(CMD):
py -m pip install tensorflow
To install tensorflow on Unix/macOs:
pip install tensorflow
Example:
pip install tensorflow==0.12.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
tensorflow 2.9.1 | 2022-05-23T17:21:49 | Windows: Unix/macOs:
|
tensorflow 2.9.0 | 2022-05-16T20:25:56 | Windows: Unix/macOs:
|
tensorflow 2.8.2 | 2022-05-23T17:15:27 | Windows: Unix/macOs:
|
tensorflow 2.8.1 | 2022-05-16T19:21:57 | Windows: Unix/macOs:
|
tensorflow 2.8.0 | 2022-02-02T15:33:06 | Windows: Unix/macOs:
|
tensorflow 2.7.3 | 2022-05-23T17:06:42 | Windows: Unix/macOs:
|
tensorflow 2.7.2 | 2022-05-16T18:54:48 | Windows: Unix/macOs:
|
tensorflow 2.7.1 | 2022-02-02T16:58:42 | Windows: Unix/macOs:
|
tensorflow 2.7.0 | 2021-11-04T21:19:34 | Windows: Unix/macOs:
|
tensorflow 2.6.5 | 2022-05-23T17:06:53 | Windows: Unix/macOs:
|
tensorflow 2.6.4 | 2022-05-16T18:35:54 | Windows: Unix/macOs:
|
tensorflow 2.6.3 | 2022-02-02T16:56:09 | Windows: Unix/macOs:
|
tensorflow 2.6.2 | 2021-11-04T15:19:46 | Windows: Unix/macOs:
|
tensorflow 2.6.1 | 2021-11-01T20:30:07 | Windows: Unix/macOs:
|
tensorflow 2.6.0 | 2021-08-11T17:09:07 | Windows: Unix/macOs:
|
tensorflow 2.5.3 | 2022-02-02T16:55:58 | Windows: Unix/macOs:
|
tensorflow 2.5.2 | 2021-11-01T20:22:54 | Windows: Unix/macOs:
|
tensorflow 2.5.1 | 2021-08-10T21:51:57 | Windows: Unix/macOs:
|
tensorflow 2.5.0 | 2021-05-13T17:28:39 | Windows: Unix/macOs:
|
tensorflow 2.4.4 | 2021-11-01T20:00:24 | Windows: Unix/macOs:
|
tensorflow 2.4.3 | 2021-08-10T21:52:30 | Windows: Unix/macOs:
|
tensorflow 2.4.2 | 2021-06-15T21:03:59 | Windows: Unix/macOs:
|
tensorflow 2.4.1 | 2021-01-21T19:38:00 | Windows: Unix/macOs:
|
tensorflow 2.4.0 | 2020-12-14T17:58:05 | Windows: Unix/macOs:
|
tensorflow 2.3.4 | 2021-08-10T21:51:35 | Windows: Unix/macOs:
|
tensorflow 2.3.3 | 2021-06-15T21:03:30 | Windows: Unix/macOs:
|
tensorflow 2.3.2 | 2021-01-06T16:59:41 | Windows: Unix/macOs:
|
tensorflow 2.3.1 | 2020-09-24T19:23:11 | Windows: Unix/macOs:
|
tensorflow 2.3.0 | 2020-07-27T19:03:06 | Windows: Unix/macOs:
|
tensorflow 2.2.3 | 2021-06-15T21:03:54 | Windows: Unix/macOs:
|
tensorflow 2.2.2 | 2021-01-06T16:59:17 | Windows: Unix/macOs:
|
tensorflow 2.2.1 | 2020-09-24T19:03:23 | Windows: Unix/macOs:
|
tensorflow 2.2.0 | 2020-05-07T17:59:27 | Windows: Unix/macOs:
|
tensorflow 2.1.4 | 2021-06-15T21:01:30 | Windows: Unix/macOs:
|
tensorflow 2.1.3 | 2021-01-06T16:58:52 | Windows: Unix/macOs:
|
tensorflow 2.1.2 | 2020-09-24T18:52:44 | Windows: Unix/macOs:
|
tensorflow 2.1.1 | 2020-05-18T16:16:18 | Windows: Unix/macOs:
|
tensorflow 2.1.0 | 2020-01-08T19:46:01 | Windows: Unix/macOs:
|
tensorflow 2.0.4 | 2021-01-06T17:00:10 | Windows: Unix/macOs:
|
tensorflow 2.0.3 | 2020-09-24T18:47:47 | Windows: Unix/macOs:
|
tensorflow 2.0.2 | 2020-05-18T16:10:54 | Windows: Unix/macOs:
|
tensorflow 2.0.1 | 2020-01-26T15:50:05 | Windows: Unix/macOs:
|
tensorflow 2.0.0 | 2019-09-30T17:23:22 | Windows: Unix/macOs:
|
tensorflow 1.15.5 | 2021-01-06T17:16:34 | Windows: Unix/macOs:
|
tensorflow 1.15.4 | 2020-09-24T18:38:59 | Windows: Unix/macOs:
|
tensorflow 1.15.3 | 2020-05-18T16:06:07 | Windows: Unix/macOs:
|
tensorflow 1.15.2 | 2020-01-26T16:08:24 | Windows: Unix/macOs:
|
tensorflow 1.15.0 | 2019-10-16T17:28:36 | Windows: Unix/macOs:
|
tensorflow 1.14.0 | 2019-06-19T05:06:15 | Windows: Unix/macOs:
|
tensorflow 1.13.2 | 2019-07-16T09:20:18 | Windows: Unix/macOs:
|
tensorflow 1.13.1 | 2019-02-26T18:01:18 | Windows: Unix/macOs:
|
tensorflow 1.12.3 | 2019-06-21T23:53:44 | Windows: Unix/macOs:
|
tensorflow 1.12.2 | 2019-04-18T20:25:58 | Windows: Unix/macOs:
|
tensorflow 1.12.0 | 2018-11-06T00:26:28 | Windows: Unix/macOs:
|
tensorflow 1.11.0 | 2018-09-27T18:51:41 | Windows: Unix/macOs:
|
tensorflow 1.10.1 | 2018-08-24T16:57:06 | Windows: Unix/macOs:
|
tensorflow 1.10.0 | 2018-08-08T20:46:17 | Windows: Unix/macOs:
|
tensorflow 1.9.0 | 2018-07-10T23:23:46 | Windows: Unix/macOs:
|
tensorflow 1.8.0 | 2018-04-28T04:28:36 | Windows: Unix/macOs:
|
tensorflow 1.7.1 | 2018-05-08T18:29:38 | Windows: Unix/macOs:
|
tensorflow 1.7.0 | 2018-03-29T18:36:20 | Windows: Unix/macOs:
|
tensorflow 1.6.0 | 2018-03-01T22:56:46 | Windows: Unix/macOs:
|
tensorflow 1.5.1 | 2018-03-20T21:39:13 | Windows: Unix/macOs:
|
tensorflow 1.5.0 | 2018-01-26T21:33:31 | Windows: Unix/macOs:
|
tensorflow 1.4.1 | 2017-12-08T09:01:57 | Windows: Unix/macOs:
|
tensorflow 1.4.0 | 2017-11-01T22:14:18 | Windows: Unix/macOs:
|
tensorflow 1.3.0 | 2017-08-16T21:11:44 | Windows: Unix/macOs:
|
tensorflow 1.2.1 | 2017-06-30T01:01:33 | Windows: Unix/macOs:
|
tensorflow 1.2.0 | 2017-06-15T16:35:03 | Windows: Unix/macOs:
|
tensorflow 1.1.0 | 2017-04-21T16:25:57 | Windows: Unix/macOs:
|
tensorflow 1.0.1 | 2017-03-08T00:50:12 | Windows: Unix/macOs:
|
tensorflow 1.0.0 | 2017-02-15T05:43:41 | Windows: Unix/macOs:
|
tensorflow 0.12.1 | 2016-12-28T22:00:37 | Windows: Unix/macOs:
|
tensorflow 0.12.0 | 2016-12-19T19:10:10 | Windows: Unix/macOs:
|
Download the distribution file from tensorflow-2.9.1-cp310-cp310-win_amd64.whl or the specific tensorflow version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_tensorflow_downloaded_file>
On Unix/macOs:
pip install <path_to_tensorflow_downloaded_file>
List distribution:
Project link: