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

Incompatibility Issue Between TensorFlow Quantum v0.7.2 and TensorFlow v2.11.0 #779

Open
brian840122 opened this issue Jun 11, 2023 · 2 comments
Labels
area/docs Concerns documentation – problems, ideas, requests kind/bug-report Something doesn't seem to work priority/p1 Fix is needed as soon as possible triage/duplicate This issue or pull request is addressed by another

Comments

@brian840122
Copy link

Hello TensorFlow Quantum Team,

The installation guide suggests that these versions are compatible, but in practice, I've encountered the following error:
NotFoundError: /usr/lib/python3/dist-packages/tensorflow_quantum/core/ops/_tfq_simulate_ops.so: cannot open shared object file: No such file or directory

In my experience, the most recent version of TensorFlow that is compatible with TensorFlow Quantum v0.7.2 is TensorFlow v2.8.0. I installed the packages using pip.

My environment is as follows:

  • Python version: 3.9
  • Ubuntu version: 20.04
  • I'm running this on the Windows Subsystem for Linux (WSL).

I wanted to alert you to this issue for potential updates to the compatibility information in the installation guide.

Thank you for your time and your work on this project. Please let me know if you need any further information regarding this issue.

@lockwo
Copy link
Contributor

lockwo commented Jun 11, 2023

I believe this is because the docs are built from the nightly version, not a stable release. TFQ 0.7.2 has TF requirement 2.7.0 (#777 (comment)), but there is work being done to support 2.11 (see recently merged PRs).

@knottyanyon
Copy link

Duplicate of #798

@mhucka mhucka added area/docs Concerns documentation – problems, ideas, requests triage/duplicate This issue or pull request is addressed by another labels Dec 1, 2024
@mhucka mhucka added kind/bug-report Something doesn't seem to work priority/p1 Fix is needed as soon as possible labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Concerns documentation – problems, ideas, requests kind/bug-report Something doesn't seem to work priority/p1 Fix is needed as soon as possible triage/duplicate This issue or pull request is addressed by another
Projects
Development

No branches or pull requests

4 participants