'nvcc not found when source installation
I want to install pytorch3d from source with the following command as recommended at Link:
git clone https://github.com/facebookresearch/pytorch3d.git
cd pytorch3d && pip install -e .
Error raised as:
/bin/sh: 1: :/usr/local/cuda-11.0/bin/nvcc: not found
But I have installed pytorch and CUDA in virtualenv (torch 1.7.1+cu110,torchvision 0.8.2+cu110) and also set PATH in ~/.bashrc as:
#CUDA
export PATH=$PATH:/usr/local/cuda-11.0/bin
export LD_LIBRARY_PATH=/usr/local/cuda-11.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda-11.0
In terminal, type nvcc -V:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Cuda compilation tools, release 11.0, V11.0.194
Build cuda_11.0_bu.TC445_37.28540450_0
type nvidia-smi:
NVIDIA-SMI 470.94 Driver Version: 470.94 CUDA Version: 11.4
What might be the problem? Thanks in advance!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
