quantum icon indicating copy to clipboard operation
quantum copied to clipboard

Could not find a version that satisfies...

Open amirebrahimi opened this issue 3 years ago • 4 comments

I followed the instructions on the site here, but still get the following error message:

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

Here is my pip list:

Package                      Version
---------------------------- ---------
absl-py                      0.15.0
astunparse                   1.6.3
cachetools                   5.0.0
certifi                      2021.10.8
charset-normalizer           2.0.12
flatbuffers                  1.12
gast                         0.3.3
google-auth                  2.6.0
google-auth-oauthlib         0.4.6
google-pasta                 0.2.0
grpcio                       1.32.0
h5py                         2.10.0
idna                         3.3
importlib-metadata           4.11.1
keras                        2.7.0
Keras-Preprocessing          1.1.2
libclang                     13.0.0
Markdown                     3.3.6
mkl-fft                      1.3.0
mkl-random                   1.1.1
mkl-service                  2.3.0
numpy                        1.19.5
oauthlib                     3.2.0
opt-einsum                   3.3.0
pip                          21.2.2
protobuf                     3.19.4
pyasn1                       0.4.8
pyasn1-modules               0.2.8
requests                     2.27.1
requests-oauthlib            1.3.1
rsa                          4.8
setuptools                   58.0.4
six                          1.15.0
tensorboard                  2.8.0
tensorboard-data-server      0.6.1
tensorboard-plugin-wit       1.8.1
tensorflow                   2.7.0
tensorflow-estimator         2.7.0
tensorflow-io-gcs-filesystem 0.24.0
termcolor                    1.1.0
typing-extensions            3.7.4.3
urllib3                      1.26.8
Werkzeug                     2.0.3
wheel                        0.37.1
wincertstore                 0.2
wrapt                        1.12.1
zipp                         3.7.0

I'm on Windows 11 running from a mingw32 (git shell)

amirebrahimi avatar Feb 23 '22 21:02 amirebrahimi

Windows hasn't been supported for a while now. I think TFQ 0.3 was the last version to support it. You can always install that version from source.

lockwo avatar Feb 23 '22 21:02 lockwo

Did I miss this somewhere? If not, then it might be good to update the installation instructions: https://www.tensorflow.org/quantum/install https://github.com/tensorflow/quantum/blob/master/docs/install.md

I could create a PR for the latter if you like, but wouldn't be able to do anything about the TF website obviously.

amirebrahimi avatar Feb 24 '22 02:02 amirebrahimi

I'm not sure if it's in the install docs or not. I think the windows build was on the todo list (at one point), but I think it's been pushed back for a while. If you are on windows (like I am) you can always use colab, or WSL, or any cloud compute.

lockwo avatar Feb 24 '22 03:02 lockwo

Thanks, that is what I have done in the end - use WSL. I just think that it would be helpful to others if they knew that Windows is not currently supported, so there is not time wasted or more issues created like this one.

amirebrahimi avatar Feb 24 '22 16:02 amirebrahimi