pip换源 mkdir ~/.pip vim ~/.pip/pip.conf [global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host = mirrors.aliyun.com apt换源 nvcc -V指令不存在 apt-get install nvidia-cuda-toolkit