- Development Status :: 3 - Alpha
- Intended Audience :: Education
- Intended Audience :: Science/Research
- License :: OSI Approved :: Apache Software License
- Programming Language :: Python
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Artificial Intelligence
- Topic :: Scientific/Engineering :: Mathematics
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules
When you know about this project and you want to new install tensorflow-directml to support your project or you get trouble as ModuleNotFoundError: No module named "tensorflow-directml" or ImportError: cannot import name "tensorflow-directml" in your project, let follow this tutorial to install tensorflow-directml
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-directml_env
- Active the virtual environment
test_tensorflow-directml_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-directml_env
- Active the virtual environment
source test_tensorflow-directml_env/bin/active
To install tensorflow-directml on Windows(CMD):
py -m pip install tensorflow-directml
To install tensorflow-directml on Unix/macOs:
pip install tensorflow-directml
Example:
pip install tensorflow-directml==1.15.3.dev200619 pre-release
Please see the version list below table:
Version | Released date | Command |
---|---|---|
tensorflow-directml 1.15.7 | 2022-05-14T20:52:02 | Windows: Unix/macOs:
|
tensorflow-directml 1.15.6 | 2022-05-06T16:58:39 | Windows: Unix/macOs:
|
tensorflow-directml 1.15.5 | 2021-09-04T01:29:44 | Windows: Unix/macOs:
|
Download the distribution file from tensorflow_directml-1.15.7-cp37-cp37m-win_amd64.whl or the specific tensorflow-directml version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_tensorflow-directml_downloaded_file>
On Unix/macOs:
pip install <path_to_tensorflow-directml_downloaded_file>
List distribution:
Project link: