Search code examples
pythontensorflowkeraswindows-10directx

ERROR: Could not find a version that satisfies the requirement tensorflow-directml


I tried to install:

pip install tensorflow-directml

from directml on my Windows 10. I have an intel GUP and I was hoping I could use it. But I got the error:

ERROR: Could not find a version that satisfies the requirement tensorflow-directml (from versions: none)
ERROR: No matching distribution found for tensorflow-directml

Did I miss something?

EDIT: I'm using python 3.8


Solution

  • Seems that the library supports Python 3.5, 3.6 and 3.7. Python3.8 is not supported at the moment (1). Is your pip installation connected to any of those versions? Try using pip --version to confirm to which Python version it is connected. In case that it shows a Python 2 version, try using pip3 install tensorflow-directml.