Why does pip fail with bad md5 hash for package?

后端 未结 4 1085
醉梦人生
醉梦人生 2020-12-24 13:14

I\'m trying to install Django package in a virtualenv. I\'m on a new computer (OSX 10.8.2). I installed virtualenv via easy_install. With the virtualenv activated, I ran:

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 13:54

    If it's just this package that you can't get to install, you could download the tarball manually, and then use pip to install it from that file. The Django download site has checksums that you can validate manually as well. I don't use osx, but probably something like this would help:

    cd /tmp
    wget https://pypi.python.org/packages/source/D/Django/Django-1.5.1.tar.gz
    md5sum Django-1.5.1.tar.gz
    pip install Django-1.5.1.tar.gz
    

提交回复
热议问题