# 在 Windows 的 WSL 安裝 NVIDIA 所需的 Ubuntu 環境 ## 安裝 WSL GUI 應用程式 https://docs.microsoft.com/zh-tw/windows/wsl/tutorials/gui-apps ## 解決無法啟動 WSL 的問題 https://blog.csdn.net/inthat/article/details/117805383 # 建立 Python 的 symbolic link * WSL 預設雖然有內建 python,但是沒有連結到 python 指令上,需要建立 symbolic link * 須注意使用到正確的 python 版本 * 使用 ls /usr/bin/ | grep python 來觀察內建的 Python 是什麼版本 * 詳閱 https://blog.csdn.net/torpidcat/article/details/105823644 ## 在 WSL 上安裝 CUDA TOOLKIT https://docs.nvidia.com/cuda/wsl-user-guide/index.html ## 在 WSL 上安裝 NVIDIA RAPIDS * 記得要先安裝好編譯工具,以免安裝過程出錯: sudo apt update && sudo apt install build-essential https://developer.nvidia.com/blog/run-rapids-on-microsoft-windows-10-using-wsl-2-the-windows-subsystem-for-linux/ # 為使用 NVIDIA docker image 預先安裝 docker * 首先按照步驟安裝 docker https://docs.docker.com/engine/install/ubuntu/ * 若遇到 docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. 則使用下列指令先啟動服務 https://stackoverflow.com/questions/44678725/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-is-the-docker ## Some common problem https://www.thewindowsclub.com/error-0x80370102-the-virtual-machine-could-not-be-started ## WSL 中無法順利開啟 Jupyter notebook 的解決方法 https://stackoverflow.com/questions/50882266/using-jupyter-with-windows-subsystem-for-linux ## WSL 存取 USD 裝置教學 https://docs.microsoft.com/zh-tw/windows/wsl/connect-usb ## 建立 wsl kernel 以支援 webcam https://github.com/microsoft/WSL/issues/6211 https://microhobby.com.br/blog/2019/09/21/compiling-your-own-linux-kernel-for-windows-wsl2/ ## Nemo 錯誤訊息解決方案 - libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory