export CUDA_HOME=/usr/local/cuda-12.1export PATH=/usr/local/cuda-12.1/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-12.1/lib64:$LD_LIBRARY_PATH 十、安装cudnn cudnn版本8.9.3.28 下载:cudnn-local-repo-ubuntu2004-8.9.3.28_1.0-1_amd64.deb sudodpkg -i cudnn-local-repo-ubuntu2004-8.9....
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r conda config --add channels https://mirr...
make install 将编译好的软件安装到指定目录 借助包管理平台安装(pip(python)、apt(ubuntu)、yum(centos)、360、腾讯管家) centos的源配置文件:/etc/yum.repos.d/CentOS-Base.repo ubuntu的源配置文件:/etc/apt/sources.list 3-3-3,使用dpkg进行软件包安装 deb是debian linux的安装格式,跟red hat的rpm非常相似...
首先重新启动,然后进入子系统,添加新用户 sudo adduser newuser sudo usermod -aG sudo newuser 然后在系统外执行 Ubuntu2004 config --default-user <user_name> 如果以新用户进入之后nvcc 无法执行,请重新添加PATH 环境变量,按照上面方面重新添加 六.扩容子系统硬盘 重新安装的子系统盘在安装目录D:\Ubuntu_WSL\...
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
以我下载的Ubuntu 22.04 LTS为例,在D盘新建 WSL 文件夹,将下载得到的 AppxBundle 文件放到 WSL 文件夹下,修改后缀名为 .zip ,然后提取其中的 Ubuntu_2204.1.7.0_x64.appx。 同样更改后缀名为.zip,接着解压缩,进入Ubuntu_2204.1.7.0_x64文件夹,双击ubuntu.exe安装。设置用户名和密码,设置完成即可进入Ubuntu。
wsl--install Ubuntu-22.04 等待安装成功,等待几分钟启动系统。 设置用户名:deshun,设置密码:0000,重复输入密码。 代码语言:javascript 复制 Installing,thismay take a few minutes...Please create adefaultUNIXuser account.The username does not need to match your Windows username.For more information visit:ht...
Thewsl.confsample file below demonstrates some of the configuration options available. In this example, the distribution is Ubuntu-20.04 and the file path is\\wsl.localhost\Ubuntu-20.04\etc\wsl.conf. Bash # Automatically mount Windows drive when the distribution is launched[automount]# Set to tru...
点击右上角的齿轮图标,然后选择Add...。 在Virtualenv Environment或System Interpreter下,点击...按钮。 在弹出的对话框中,选择WSL: Ubuntu(或你的WSL的相应发行版)。 一旦WSL被选中,PyCharm会在WSL环境中搜索可用的Python解释器。 在搜索结果中,找到conda环境的Python解释器,并选择它。