<p>我正在尝试跟踪<a href="http://newcoder.io/dataviz/part-0/" rel="nofollow">this tutorial</a>并在执行以下操作时出错:</p>
<pre><code>(DataVizProject) $ pip install -r requirements.txt
</code></pre>
<p>它给了我一个大的错误日志,最后几行是:</p>
<pre><code>C:\python\new-coder\dataviz\DataVizProj\build\numpy\numpy\distutils\system_info.
py:1422: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
error: Unable to find vcvarsall.bat
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in C:\python\new-coder
\dataviz\DataVizProj\build\numpy
</code></pre>
<p>我知道它不起作用,因为当我执行以下步骤时:</p>
<pre><code>>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named matplotlib
>>>
</code></pre>
<p>非常感谢!</p>