我正在尝试在 WSL 上安装 CUDA9.2,但它卡在“正在加载新的 nvidia-396-396.37 DKMS 文件...”。日志的最后几行是:
Setting up nvidia-396 (396.37-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
A modprobe blacklist file has been created at /etc/modprobe.d to prevent
Nouveau from loading. This can be reverted by deleting
/etc/modprobe.d/nvidia-graphics-drivers.conf.
A new initrd image has also been created. To revert, please replace /boot/initrd-4.4.0-17134-Microsoft with /boot/initrd-$(uname -r)-backup.
*****************************************************************************
*** Reboot your computer and verify that the NVIDIA graphics driver can***
*** be loaded. ***
*****************************************************************************
Loading new nvidia-396-396.37 DKMS files.. .