1.提示出现找不到适合的版本的问题
ERROR: Could not find a version that satisfies the requirement sklearn (from versions: none)
还包括安装其他的包的时候,
解决办法:换源,并信任源
pip install sklearn -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
2.pip安装pytorch-gpu版本
不能使用清华镜像源,因为清华镜像源没有gpu的版本对应
# CUDA 10.2
pip install torch==1.9.1+cu102 torchvision==0.10.1+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html