pip install sentence_transformers
Looking in indexes: https://pypi.nioint.com/simple
Collecting sentence_transformers
Downloading https://pypi.nioint.com/packages/source/s/sentence-transformers/sentence-transformers-2.2.0.tar.gz?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2Fb0%2Fab%2Faf4f67cee74044903f6e22f3977a51bb4e0ec71df4345593ac8c7b06a6c4%2Fsentence-transformers-2.2.0.tar.gz (79 kB)
|████████████████████████████████| 79 kB 2.2 MB/s
Collecting transformers<5.0.0,>=4.6.0
Downloading https://pypi.nioint.com/packages/source/t/transformers/transformers-4.18.0-py3-none-any.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F8f%2Fe9%2Fc2b4c823b3959d475a570c1bd2df4125478e2e37b96fb967a87933ae7134%2Ftransformers-4.18.0-py3-none-any.whl (4.0 MB)
|████████████████████████████████| 4.0 MB 3.0 MB/s
Collecting tqdm
Downloading https://pypi.nioint.com/packages/source/t/tqdm/tqdm-4.64.0-py2.py3-none-any.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F8a%2Fc4%2Fd15f1e627fff25443ded77ea70a7b5532d6371498f9285d44d62587e209c%2Ftqdm-4.64.0-py2.py3-none-any.whl (78 kB)
|████████████████████████████████| 78 kB 24.7 MB/s
Collecting torch>=1.6.0
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)")': /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)")': /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)")': /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)")': /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)")': /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='pypi.nioint.com', port=443): Max retries exceeded with url: /packages/source/t/torch/torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl?remote=https%3A%2F%2Fmirrors.aliyun.com%2Fpypi%2Fpackages%2F94%2F32%2F96a0955e5d6ed8a837eda5ca095dd2694c4617cfa70ca599660cd5ff7447%2Ftorch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='pypi.nioint.com', port=443): Read timed out. (read timeout=15)"))
原来是我的torch没下载下来