Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems when run a project #812

Open
jasonpoonreal opened this issue Oct 12, 2024 · 0 comments
Open

problems when run a project #812

jasonpoonreal opened this issue Oct 12, 2024 · 0 comments

Comments

@jasonpoonreal
Copy link

jasonpoonreal commented Oct 12, 2024

/home/jasonpoon/anaconda3/envs/tfq/bin/python /home/jasonpoon/PycharmProjects/pythonProject4/1.py
Traceback (most recent call last):
File "/home/jasonpoon/PycharmProjects/pythonProject4/1.py", line 4, in
import tensorflow_quantum as tfq
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/init.py", line 18, in
from tensorflow_quantum.core import (append_circuit, get_expectation_op,
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/core/init.py", line 17, in
from tensorflow_quantum.core.ops import (get_expectation_op,
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/core/ops/init.py", line 18, in
from tensorflow_quantum.core.ops.circuit_execution_ops import (
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/core/ops/circuit_execution_ops.py", line 20, in
from tensorflow_quantum.core.ops import (cirq_ops, tfq_simulate_ops,
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/core/ops/tfq_simulate_ops.py", line 17, in
from tensorflow_quantum.core.ops.load_module import load_module
File "/home/jasonpoon/anaconda3/envs/tfq/lib/python3.8/site-packages/tensorflow_quantum/core/ops/load_module.py", line 20, in
from tensorflow.python.framework import load_library
ModuleNotFoundError: No module named 'tensorflow.python.framework'

Process finished with exit code 1
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant