NVIDIA / NVIDIA/cuQuantum

Unable to install benchmarks: No module named 'pkg_resources'

Open
#224 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
499
Forks
102
PR merge metrics
No merged PRs in 30d

Description

[Sorry if I should have logged this in some support system, but I couldn't find any link to help group or the like]

Following https://docs.nvidia.com/cuda/cuquantum/latest/getting-started/index.html#running-the-nvidia-quantum-benchmarks
I failed to install the benchmarks with ModuleNotFoundError: No module named 'pkg_resources'
from File "/tmp/pip-install-e6nl1lg8/cuquantum-python_88aa40e3b6bb40afa49a371456700153/cuda_autodetect.py", line 34, in <module>
Some AI told me that this is because pkg_resources is deprecated, but then it also told me that I could workaround by pinning an older version of setuptools but that didn't work.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the NVIDIA cuQuantum benchmark installation instructions linked in the issue and reproduce the failure. Inspect the reported cuda_autodetect.py location and the setuptools/pkg_resources dependency involved in the install. Done means the benchmarks install successfully without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.