Hey Quantum Computing community,

I cannot get TensorFlow Quantum to work even though I am using

pip install tensorflow-quantum

I have TensorFlow already on Visual Studio Code, and I know it is a prerequisite for being able to download TensorFlow Quantum. I even tried going down a level of TensorFlow (I think it is called downgrading), but unfortunately, my Visual Studio Code terminal does not recognize it.

Thank You!

Update: Including image down below:What I tried doing

  • 1
    $\begingroup$ You need to include more information about the error that's occurring. What does it say is going wrong? $\endgroup$ Jul 31, 2023 at 17:51
  • $\begingroup$ If you continue to have trouble, TFQ is available as a pre-configured environment on qBraid, see youtu.be/iqYmB7H2R2E $\endgroup$
    – ryanhill1
    Aug 1, 2023 at 22:03
  • $\begingroup$ @CraigGidney please refer to my image attached while I updated my original question. Thank You! $\endgroup$
    – Sid Meka
    Aug 2, 2023 at 3:38

2 Answers 2


I think the issue is that you're on a windows machine. Based on the files present on pypi ( https://pypi.org/project/tensorflow-quantum/0.7.2/#files ), there's only linux and osx distributions of the wheel.

I think this means you'll have to use it via collab, or switch to a non-windows computer.


TensorFlow Quantum looks like it requires TensorFlow 2.11, you have 2.13 installed.Look at this install guide https://www.tensorflow.org/quantum/install. You also should check what python version you are using. It cannot be the latest versions of python.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.