Strange FileNotFoundError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
When use pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ for installation, raise an error FileNotFoundError: [Errno 2] No such file or directory: ':/usr/local/cuda-9.0/bin/nvcc'
What is :/usr/local/cuda-9.0/bin/nvcc? I mean : is strange and can ubuntu not find :/usr/local/cuda-9.0/bin/nvcc, not /usr/local/cuda-9.0/bin/nvcc?
Meanwhile, I have installed nvcc9.0
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
We can see: -rwxr-xr-x 1 dx dx 189888 Sep 20 19:58 /usr/local/cuda-9.0/bin/nvcc*
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 reproducing the pip install command with --cpp_ext and --cuda_ext, then trace how the nvcc executable path is assembled during installation. Confirm whether the leading colon is introduced by the build configuration; done means the command resolves /usr/local/cuda-9.0/bin/nvcc and installation proceeds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100