How to specify install order for python pip?

后端 未结 9 1524
[愿得一人]
[愿得一人] 2020-11-30 02:22

I\'m working with fabric(0.9.4)+pip(0.8.2) and I need to install some python modules for multiple servers. All servers have old version of setuptools (0.6c8) which needs to

9条回答
  •  误落风尘
    2020-11-30 03:02

    To allow all types of entries (for example packages from git repositories) in requirements.txt you need to use the following set of commands

    cat requirements.txt | xargs -n 1 -L 1 pip install
    

    -n 1 and -L 1 options are necessary to install packages one by one and treat every line in the requirements.txt file as a separate item.

提交回复
热议问题