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

Python version support #1611

Open
khalatepradnya opened this issue May 3, 2024 · 5 comments
Open

Python version support #1611

khalatepradnya opened this issue May 3, 2024 · 5 comments
Labels
python-lang Anything related to the Python CUDA Quantum language implementation

Comments

@khalatepradnya
Copy link
Collaborator

  • 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
  • Consider updating the CI to use Python v3.12

@ACE07-Sev
Copy link

ACE07-Sev commented Jun 3, 2024

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.

@bmhowe23
Copy link
Collaborator

bmhowe23 commented Jun 3, 2024

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.

@ACE07-Sev
Copy link

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.

@1tnguyen
Copy link
Collaborator

1tnguyen commented Jun 6, 2024

Hi @ACE07-Sev,

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

@ACE07-Sev
Copy link

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

@khalatepradnya khalatepradnya added the python-lang Anything related to the Python CUDA Quantum language implementation label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-lang Anything related to the Python CUDA Quantum language implementation
Projects
None yet
Development

No branches or pull requests

4 participants