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

tensorflow quantum can not be imported ?? #787

Open
Rayhan740 opened this issue Jun 19, 2023 · 6 comments
Open

tensorflow quantum can not be imported ?? #787

Rayhan740 opened this issue Jun 19, 2023 · 6 comments
Labels
area/colab Concerns Google Colab 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

@Rayhan740
Copy link

I am using google colab and where I am using python 3.8. So, where tensorflow quantum is installed but when I try to import tensorflow quantum then it doesn't work!!! how can I fix ...... and google tensorflow quantum and version compatibility is really a pain!!!!

@lockwo
Copy link
Contributor

lockwo commented Jun 19, 2023

I honestly stopped using Colab with TFQ, so many issues with compatibility. But if you must, this worked for me: #782 (comment)

@Rayhan740
Copy link
Author

tried but didn't worked!! 😑

@lockwo
Copy link
Contributor

lockwo commented Jun 22, 2023

Dang, unlucky. Colab is a real mess now.

@rryoung98
Copy link

rryoung98 commented Jul 6, 2023

Hello, I understand that this is an alternative solution, but on qBraid TFQ and Tensorflow + Cirq are properly versioned and installable.

One thing to double check after activating the environment is to make sure your kernel is Python [ Tensorflow ] @Rayhan740 See video below:

https://www.youtube.com/watch?v=iqYmB7H2R2E

I've been there myself with all the compatibility issues, not to mention I couldn't find the TFQ distribution for python 3.8 on my Mac M1. 🥲

@Rayhan740
Copy link
Author

Rayhan740 commented Jul 12, 2023

yes I am using qbraid as an alternative to colab.

@knottyanyon
Copy link

Duplicate of #798

@mhucka mhucka added kind/bug-report Something doesn't seem to work triage/duplicate This issue or pull request is addressed by another area/colab Concerns Google Colab labels Dec 1, 2024
@mhucka mhucka added the priority/p1 Fix is needed as soon as possible label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/colab Concerns Google Colab 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

5 participants