采用指令
conda create --name xuniren python=3.10
conda activate xuniren
git clone https://github.com/waityousea/xuniren.git
cd xuniren
pip install -r requirements.txt
conda install -c bottler nvidiacub
pip install "git+https://github.com/facebookresearch/pytorch3d.git"
但一直报下面错误,但实际上执行nvcc -V完全没问题的,后面降低了pytorch、torchvision的版本,改了pytorch3d的tag进行pip安装,还是报下面的错误,env里面也检查过CUDA_HOME=:/usr/local/cuda,没找到问题解决办法
running build_ext
error: [Errno 2] No such file or directory: ':/usr/local/cuda/bin/nvcc'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Failed to build pytorch3d
ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects
采用指令 conda create --name xuniren python=3.10 conda activate xuniren git clone https://github.com/waityousea/xuniren.git cd xuniren pip install -r requirements.txt conda install -c bottler nvidiacub pip install "git+https://github.com/facebookresearch/pytorch3d.git" 但一直报下面错误,但实际上执行nvcc -V完全没问题的,后面降低了pytorch、torchvision的版本,改了pytorch3d的tag进行pip安装,还是报下面的错误,env里面也检查过CUDA_HOME=:/usr/local/cuda,没找到问题解决办法 running build_ext error: [Errno 2] No such file or directory: ':/usr/local/cuda/bin/nvcc' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pytorch3d Running setup.py clean for pytorch3d Failed to build pytorch3d ERROR: Could not build wheels for pytorch3d, which is required to install pyproject.toml-based projects