从一个干净的python2.7.3安装开始,如果我运行pip install -r requirements.txt
包括以下内容要求.txt公司名称:
^{pr2}$
然后pip尝试在numpy之前安装matplotlib,但失败的原因是:============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.2.1
python: 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2]
platform: linux2
REQUIRED DEPENDENCIES
numpy: no
* You must install numpy 1.4 or later to build
* matplotlib.
Complete output from command python setup.py egg_info:
basedirlist is: ['/usr/local', '/usr']
============================================================================
但是,如果我这么做的话pip install numpy
pip install -r requirements.txt
那么一切都很好。这是怎么回事?在