pip: Why sometimes installed as egg, sometimes installed as files

前端 未结 3 781
旧时难觅i
旧时难觅i 2021-02-14 08:56

Where can you force pip to install as \"flat\" and not as \"egg\".

For me it seems random. Sometimes it gets installed as egg, sometime as flat.

pip help i

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-14 09:02

    This does not solve the question why I get sometimes zipped eggs, and sometimes not. But it helps.

    You can use this in your ~/.distutils.cfg to avoid installation of zipped eggs:

    [easy_install]
    zip_ok = False
    

提交回复
热议问题