Search code examples
pypitensorflow-quantum

Unable to install tensorflow-quantum using pip


Using the command pip install tensorflow-quantum gives the following error:

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

Not sure why the versions is none. Also, not sure how to proceed. I can build from source but need help on this error.


Solution

  • This is because you are using a python version that does not support TensorFlow Quantum. TensorFlow Quantum is supported on Python 3.7, 3.8, and 3.9. Change your Python version to any of these then try reinstalling.