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

前端 未结 4 1445
礼貌的吻别
礼貌的吻别 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条回答
  •  萌比男神i
    2020-12-13 19:58

    I've experienced the same problem. I have no idea why it happens, but I do have a fix; use the -f option in pip to tell it where to find the matplotlib sources. (This works in requirements.txt as well).

    pip install -f http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz matplotlib
    

提交回复
热议问题