tensorflow / quantum

Hybrid Quantum-Classical Machine Learning in TensorFlow
https://www.tensorflow.org/quantum
Apache License 2.0
1.77k stars 558 forks source link

NotFoundError: ...\core\ops\_tfq_simulate_ops.so not found #800

Open CalciferLWS opened 9 months ago

CalciferLWS commented 9 months ago

when I trying to do import tensorflow_quantum as tfq

I got error like this :

NotFoundError: NotFoundError: D:\download\anaconda\envs\tensorflowq\Lib\site-packages\tensorflow_quantum\core\ops_tfq_simulate_ops.so not found

Package lists: python = 3.7.0 tensorflow = 2.2.0 tensorflow-quantum = 0.3.1 cirq = 0.8.0

What should I do?

lockwo commented 9 months ago

tfq 0.3.1 has requirements tensorflow==2.1.0 based on the requirements txt

CalciferLWS commented 8 months ago

your suggested solution worked, thank you very much!

tfq 0.3.1 has requirements tensorflow==2.1.0 based on the requirements txt