赞
踩
command: /home/fhz/anaconda3/envs/open-mmlab/bin/python -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-qymtxzt1/mmcv-
…
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
Terminal中,输入语句:
nvcc --version
显示nvcc not found
根据提示直接:
sudo apt install nvidia-cuda-toolkit
(open-mmlab) fhz@fhz:~$ nvcc --version
Command 'nvcc' not found, but can be installed with:
sudo apt install nvidia-cuda-toolkit
install 完成后,再次 pip install mmcv-full
问题解决!!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。