tensorflow / quantum

An open-source Python framework for hybrid quantum-classical machine learning.
https://www.tensorflow.org/quantum
Apache License 2.0
1.81k stars 579 forks source link

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

Open CalciferLWS opened 1 year ago

CalciferLWS commented 1 year 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 1 year ago

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

CalciferLWS commented 1 year ago

your suggested solution worked, thank you very much!

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