mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

can not pip install mmcv/mmcv-full

Open LiuJiaji1999 opened this issue 3 years ago • 8 comments

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. I have read the FAQ documentation but cannot get the expected help.3.

ubuntu环境下 cuda11.1+pytorch1.10 error:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc2d7ea590>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /compute/redist/mmcv/

LiuJiaji1999 avatar Mar 09 '22 03:03 LiuJiaji1999

It seems that your pip connection error, can you download other packages via pip? Maybe you can try to close your proxy.

HAOCHENYE avatar Mar 09 '22 04:03 HAOCHENYE

pip can install other packages, I changed all the mirror sources and the same error was prompted

LiuJiaji1999 avatar Mar 09 '22 05:03 LiuJiaji1999

@LiuJiaji1999 Can you show the command you use?so that we can assure whether it's due to Network problem or not.

imabackstabber avatar Mar 09 '22 05:03 imabackstabber

IMG_7538

LiuJiaji1999 avatar Mar 09 '22 05:03 LiuJiaji1999

I have used pip install mmcv. pip install mmcv-full. pip install mmcv -i 所有镜像源 IMG_7539

LiuJiaji1999 avatar Mar 09 '22 05:03 LiuJiaji1999

the corresponding command

pip install mmcv-full==1.3.9 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.10.0/index.html

works fine on my ubuntu,maybe reset your proxy?

imabackstabber avatar Mar 09 '22 05:03 imabackstabber

The current practice is using the server of the enterprise. How can I view and reset the proxy?

LiuJiaji1999 avatar Mar 09 '22 05:03 LiuJiaji1999

Sorry for the late reply. Could you try to type the command ping baidu.com in your terminal?

zhouzaida avatar Apr 10 '22 13:04 zhouzaida