win10+pytorch1.5

(python 3.7.5)
virtualenv --system-site-packages -p python .\torch
.\torch\Scripts\activate pip install --upgrade pip
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy pip install -i https://pypi.tuna.tsinghua.edu.cn/simple scipy pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyter pip install -i https://pypi.tuna.tsinghua.edu.cn/simple notebook==5.7.4 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas pip install -i https://pypi.tuna.tsinghua.edu.cn/simple sklearn pip install -i https://pypi.tuna.tsinghua.edu.cn/simple bottleneck==1.2.1
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pillow
pip install torch==1.5.0+cu101 torchvision==0.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple fastai
pip uninstall tornado
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tornado==5.1.1
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torchsummary
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torchtext
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorboard
miniconda:
conda create -n torch python=3.8
conda activate torch
pip install XXXX
conda deactivate
 
posted on 2020-05-01 09:38  medsci  阅读(742)  评论(0编辑  收藏  举报