Why does pip install matplotlib version 0.91.1 when PyPi shows version 1.0.0?

前端 未结 4 1436
礼貌的吻别
礼貌的吻别 2020-12-13 19:41

Update Oct 15, 2012

PyPi is now showing matplotlib at 1.1.0 so this issue is resolved. Install matplotlib via:

pip install matplotlib

4条回答
  •  温柔的废话
    2020-12-13 19:52

    This happens because the download link for matplotlib 1.0 on PyPI points to a URL that doesn't appear to pip to be a file in a known format (the URL ends with /download rather than a filename). See this bug filed on pip.

    oyvindio's workaround is the best option I'm aware of for now, until either pip gets more flexible about URLs or matplotlib fixes their PyPI link.

提交回复
热议问题