Anaconda python 3.9 pytorch 1.9
d2l-0.17.6-py3-none-any.whl安装失败
github/gitcode下载d2l-en-v0.17.6.zip
pypi 经常抽风
pip\pip.ini
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
下载
pytz-2022.6-py2.py3-none-any.whl
pathlib-1.0.1-py3-none-any.whl
qudida-0.0.4-py3-none-any.whl
opencv_python_headless-4.6.0.66-cp36-abi3-win_amd64.whl
albumentations-1.3.0-py3-none-any.whl
ruamel.yaml-0.17.21-py3-none-any.whl
ruamel.yaml.clib-0.2.7-cp39-cp39-win_amd64.whl
sentry_sdk-1.11.0-py2.py3-none-any.whl
urllib3-1.26.12-py2.py3-none-any.whl
GitPython-3.1.29-py3-none-any.whl
gitdb-4.0.9-py3-none-any.whl
shortuuid-1.0.11-py3-none-any.whl
wandb-0.13.5-py2.py3-none-any.whl
用 pip install xxx.whl
安装
pip install pytz
pip install albumentations opencv_python_headless
pip install wandb
pip install ruamel.yaml
pip install numba==0.56
pip install ogb pykeops ray einops
修改 setup.py和安装的版本一致
'jupyter==1.0.0',
'numpy==1.21.5',
'matplotlib==3.5.1',
'requests==2.27.1',
'pandas==1.4.2'
管理员权限 运行Anaconda3
安装pytorch 、 mmcv
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.9.0+cu111.html
pip install torchdiffeq torch-geometric
python setup.py install
jupyter notebook
运行时如果出现
Anaconda3\Library\bin\
site-packages\torch\
目录下都有 libiomp5md.dll,删除Anaconda3\Library\bin\目录下的
修改pytorch所在盘的虚拟内存大小