16
无法使用Ubuntu在Docker容器内安装pip软件包
我遵循无花果指南,将docker与python应用程序一起使用,但是当docker掌握命令时 RUN pip install -r requirements.txt 我收到以下错误消息: Step 3 : RUN pip install -r requirements.txt ---> Running in fe0b84217ad1 Collecting blinker==1.3 (from -r requirements.txt (line 1)) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/blinker/ 这重复了几次,然后我又收到一条消息: Could not find any downloads …