下载N卡驱动
1 | sudo mhwd -a pci nonfree 0300 |
1 | sudo reboot |
1 | nvidia-settings |
下载anaconda
1 | yay -S anaconda |
创建环境
1 | conda create -n [环境名] |
进入环境
1 | conda activate [环境名] |
退出环境
1 | conda deactivate |
下载CUDA
下载PyTorch
问题
问题1:Error while loading conda entry point: anaconda-cloud-auth (OPENSSL 3.0's legacy ......)
解决:./bashrc
中加入变量
1 | export CRYPTOGRAPHY-OPENSSL_NO_LEGACY=1 |