报错截图
安装MMDet3D时报错:
解决方法
直接在命令行粘贴(注意CUDA版本):
参考文章:
- Ubuntu——报错解决:gcc编译依赖CUDA时报错fatal error: cuda_runtime_api.h/cuComplex.h/cuda_fp16.h: 没有那个文件或目录
后续报错
error: command ‘:/usr/local/cuda-11.2/bin/nvcc’ failed with exit status 1
解决方法:
- Python——报错解决:error: command ‘:/usr/local/cuda-11.2/bin/nvcc‘ failed: No such file or directory
安装成功