cuda-quantum icon indicating copy to clipboard operation
cuda-quantum copied to clipboard

Python version support

Open khalatepradnya opened this issue 1 year ago • 5 comments

  • Python version 3.8 will be EOLed by October 2024. See: https://peps.python.org/pep-0569/

  • CUDA-Q to drop support for Python3.8 after that

    • Fix all occurrences of [PYTHON_VERSION_FIX] in the code base
    • Remove the dependency for graphlib-backport
  • Consider updating the CI to use Python v3.12

khalatepradnya avatar May 03 '24 17:05 khalatepradnya

I am currently trying to pip install cudaq, but it gives this error

PS C:\Users\A.C.EA\OneDrive\Documents\GitHub\QICKIT>pip install cuda-quantum
ERROR: Could not find a version that satisfies the requirement cuda-quantum (from versions: none)
ERROR: No matching distribution found for cuda-quantum

I'm on Windows, with python version 3.11.9.

ACE07-Sev avatar Jun 03 '24 16:06 ACE07-Sev

Sorry @ACE07-Sev, but we do not have any Windows wheels for CUDA-Q at this time. Only Linux wheels are currently available. However, Docker images are available here: https://catalog.ngc.nvidia.com/orgs/nvidia/teams/quantum/containers/cuda-quantum/tags.

bmhowe23 avatar Jun 03 '24 16:06 bmhowe23

What python versions are currently supported by CUDA-Q? I set up VS Code through WSL2, and I made a venv with python==3.12.3 but when I try to pip install the same thing happens. However, when I pip install through Terminal (which by default only uses 3.10) it works and I can install it.

So, right now I can't install the package inside venv.

ACE07-Sev avatar Jun 06 '24 16:06 ACE07-Sev

Hi @ACE07-Sev,

We have CUDA-Q Python wheels for Python 3.8-3.11.

1tnguyen avatar Jun 06 '24 22:06 1tnguyen

Thank you very much! Yes, I was able to install it and have begun working on the task.

ACE07-Sev avatar Jun 07 '24 11:06 ACE07-Sev