- Environment :: GPU
- Environment :: GPU :: NVIDIA CUDA :: 11.2
- Topic :: Scientific/Engineering :: Artificial Intelligence
- Topic :: Scientific/Engineering :: Mathematics
When you know about this project and you want to new install tensorflow-macos to support your project or you get trouble as ModuleNotFoundError: No module named "tensorflow-macos" or ImportError: cannot import name "tensorflow-macos" in your project, let follow this tutorial to install tensorflow-macos
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-macos_env
- Active the virtual environment
test_tensorflow-macos_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-macos_env
- Active the virtual environment
source test_tensorflow-macos_env/bin/active
To install tensorflow-macos on Windows(CMD):
py -m pip install tensorflow-macos
To install tensorflow-macos on Unix/macOs:
pip install tensorflow-macos
Example:
pip install tensorflow-macos==2.5.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
tensorflow-macos 2.9.2 | 2022-06-06T14:39:02 | Windows: Unix/macOs:
|
tensorflow-macos 2.9.1 | 2022-05-31T19:49:10 | Windows: Unix/macOs:
|
tensorflow-macos 2.9.0 | 2022-05-19T18:19:42 | Windows: Unix/macOs:
|
tensorflow-macos 2.8.0 | 2022-02-11T18:52:02 | Windows: Unix/macOs:
|
tensorflow-macos 2.7.0 | 2021-12-02T18:43:48 | Windows: Unix/macOs:
|
tensorflow-macos 2.6.0 | 2021-09-30T17:17:28 | Windows: Unix/macOs:
|
tensorflow-macos 2.5.0 | 2021-06-05T01:50:06 | Windows: Unix/macOs:
|
Download the distribution file from tensorflow_macos-2.9.2-cp310-cp310-macosx_11_0_x86_64.whl or the specific tensorflow-macos version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_tensorflow-macos_downloaded_file>
On Unix/macOs:
pip install <path_to_tensorflow-macos_downloaded_file>
List distribution:
Project link: