How to pip install a package with min and max version range?

后端 未结 3 771
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 06:37

I\'m wondering if there\'s any way to tell pip, specifically in a requirements file, to install a package with both a minimum version (pip install package>=0.2

3条回答
  •  感动是毒
    2020-12-02 07:21

    you can also use:

    pip install package==0.5.*
    

    which is more consistent and easy to read.

提交回复
热议问题