`pip freeze > requirements.txt`
的顺序自动写入我的依赖关系在明显的字母顺序排列,这样的: -PIP冻结和依赖
matplotlib==1.2.0
numpy==1.6.2
pandas==0.9.1
的问题,这是pip install -r requirements.txt
(当我部署我的代码与它的依赖上市在requirements.txt
)最终会失败,因为matplotlib需要先安装numpy。
我怎样才能确保matplotlib之后 numpy的上市在requirements.txt
文件时我pip freeze
呢?
AH .....这很有道理。谢谢。 – 2013-04-10 01:26:21