Download timeout:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’, port=443): Read timed out.
pip install --default-timeout=200 -i https://pypi.tuna.tsinghua.edu.cn/simple scipy==1.2.1
torch cannot be installed:
The error is reported as follows:
pip._vendor.urllib3.exceptions.ProtocolError: (“Connection broken: ConnectionResetError(104, ‘Connection reset by peer’)”, ConnectionResetError(104, ‘Connection reset by peer’))
Solution: Replace Tsinghua Source with Huawei Source
The command is as follows:pip install -i https://repo.huaweicloud.com/repository/pypi/simple/ -rrequirements.txt
Linux disk space is not enough
first step
Just choose the size that suits you
Step two:
Open the virtual machine and open the disks