美文网首页
windows: pip install flask 失败

windows: pip install flask 失败

作者: 哆啦A梦_ca52 | 来源:发表于2020-12-23 15:40 被阅读0次
    >>> pip install flask
    Collecting flask
      Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/flask/
      Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/flask/
      Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/flask/
      Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/flask/
      Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/flask/
      Could not find a version that satisfies the requirement flask (from versions: )
    No matching distribution found for flask
    
    
    

    解决:换个镜像
    pip install flask -i https://pypi.douban.com/simple即可

    相关文章

      网友评论

          本文标题:windows: pip install flask 失败

          本文链接:https://www.haomeiwen.com/subject/thxunktx.html