microsoft / tensorflow-directml

Fork of TensorFlow accelerated by DirectML
Apache License 2.0
454 stars 32 forks source link

TensorFlow-DirectML Does Not Exist #407

Open NickDeBeenSAE opened 1 year ago

NickDeBeenSAE commented 1 year ago

Inside of a Conda environment on a WSL 2 platform:

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

So..... Its not my WSL2 environment.

walgarch commented 1 year ago

I'm having the exact same issue

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

Coloradohusky commented 1 year ago

Your Python version has to be between 3.5 and 3.7, I had the same issue on 3.10 and downloading 3.7 and installing it there worked

NickDeBeenSAE commented 1 year ago

Your Python version has to be between 3.5 and 3.7, I had the same issue on 3.10 and downloading 3.7 and installing it there worked

Unfortunately, that version of Python is no longer available.

NickDeBeenSAE commented 1 year ago

With Linux this is, it goes with what is compatible with the operating system.

godheng commented 11 months ago

My python version is 3.7.17, and i have the same issue,

here is my environment: Python 3.7.16 (default, Jan 17 2023, 22:20:44) [GCC 11.2.0] :: Anaconda, Inc. on linux

godheng commented 11 months ago

Solved my problem by specifically type python3.7 -m pip install . Because there are two versions of python in my system, "pip" uses the default one.

NickDeBeenSAE commented 8 months ago

Your Python version has to be between 3.5 and 3.7, I had the same issue on 3.10 and downloading 3.7 and installing it there worked

Still failed on WSL2 even with the correct version of Python specified to install:

(base) dbtsgds2023@Crimson-8:~$ pip3 install tensorflow-directml ERROR: Could not find a version that satisfies the requirement tensorflow-directml (from versions: none) ERROR: No matching distribution found for tensorflow-directml