QuEraComputing / bloqade-python

QuEra's Neutral Atom SDK for Analog QPUs
https://bloqade.quera.com/
Other
54 stars 14 forks source link

Can't pip install bloqade-python #560

Closed bsiegelwax closed 1 year ago

bsiegelwax commented 1 year ago

No matching distribution found.

My local version is Python 3.10.9. I received the same error using the qBraid platform.

weinbe58 commented 1 year ago

hi @bsiegelwax can you post the stack trace from the installation?

bsiegelwax commented 1 year ago

Looks like qBraid needs to upgrade Python?

ERROR: Ignored the following versions that require a different python version: 0.2.0 Requires-Python >=3.11; 0.2.1 Requires-Python >=3.10; 0.2.2 Requires-Python >=3.10; 0.2.3 Requires-Python >=3.10; 0.2.4 Requires-Python >=3.10; 0.2.5 Requires-Python >=3.10; 0.2.6 Requires-Python >=3.10; 0.3.1 Requires-Python >=3.10; 0.3.2 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement bloqade (from versions: 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9)
ERROR: No matching distribution found for bloqade
weinbe58 commented 1 year ago

I just added support for python 3.9 I will release that version this aternoon.

weinbe58 commented 1 year ago

@bsiegelwax Can you try installing bloqade again?

bsiegelwax commented 1 year ago

In qBraid and locally:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 from bloqade import start
      3 calculation = (
      4     start
      5 )

ModuleNotFoundError: No module named 'bloqade'

It gets a little farther in Google Colab, but Colab generates errors running sample code. Also, it doesn't help me access Aquila since I use qBraid to access Aquila.

weinbe58 commented 1 year ago

Currently its not added to the braket environment qBraid so you will need to install it yourself until we get them to add it. I was able to do this in the morning today.

kaihsin commented 1 year ago

Also I am not sure we tested on 32bit python. on Google Colab free version sometimes they assign you 32bit cpu instead of 64bit

bsiegelwax commented 1 year ago

Some sample code just ran without errors in Colab, so I can start tinkering with bloqade-python. For execution on Aquila maybe the qBraid SDK is an option from there.

bsiegelwax commented 1 year ago

This ticket shouldn't be closed. Bloqade still has installation issues.