No module named cxxfilt when running
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
I installed apex as pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" git+https://github.com/NVIDIA/apex
I'm running python -m apex.pyprof.parse net.sql > net.dict and am getting an error:
File "/miniconda/lib/python3.7/site-packages/apex/pyprof/parse/__main__.py", line 7, in <module>
raise e
File "/miniconda/lib/python3.7/site-packages/apex/pyprof/parse/__main__.py", line 4, in <module>
from .parse import main
File "/miniconda/lib/python3.7/site-packages/apex/pyprof/parse/parse.py", line 12, in <module>
from .kernel import Kernel
File "/miniconda/lib/python3.7/site-packages/apex/pyprof/parse/kernel.py", line 1, in <module>
import cxxfilt, struct, binascii
ModuleNotFoundError: No module named 'cxxfilt'
Maybe cxxfilt somewhere not mentioned as dependency and pip doesn't install it?
Contributor guide
No contributing guide indexed for this repository
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 by running python -m apex.pyprof.parse net.sql and inspect the import in apex/pyprof/parse/kernel.py. Check how the Apex package declares dependencies, then verify that a fresh installation provides cxxfilt and that the parser command completes without the reported ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100