Unable to install benchmarks: No module named 'pkg_resources'
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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