pip install [all]不安装依赖项

时间:2013-11-08 20:31:30

标签: python python-2.7 pip statsmodels

我正在尝试使用statsmodels安装pip install statsmodels[all]及其所有依赖项。

问题:为什么它仍然告诉我缺少依赖项?

输出:

Downloading/unpacking statsmodels[all]
  Using download cache from /Users/mynusername/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fs%2Fstatsmodels%2Fstatsmodels-0.5.0.tar.gz
  Running setup.py egg_info for package statsmodels
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/Users/mynusername/.virtualenvs/datasci/build/statsmodels/setup.py", line 463, in <module>
        check_dependency_versions(min_versions)
      File "/Users/mynusername/.virtualenvs/datasci/build/statsmodels/setup.py", line 122, in check_dependency_versions
        raise ImportError("statsmodels requires patsy. http://patsy.readthedocs.org")
    ImportError: statsmodels requires patsy. http://patsy.readthedocs.org
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/Users/mynusername/.virtualenvs/datasci/build/statsmodels/setup.py", line 463, in <module>

    check_dependency_versions(min_versions)

  File "/Users/mynusername/.virtualenvs/datasci/build/statsmodels/setup.py", line 122, in check_dependency_versions

    raise ImportError("statsmodels requires patsy. http://patsy.readthedocs.org")

ImportError: statsmodels requires patsy. http://patsy.readthedocs.org

1 个答案:

答案 0 :(得分:0)

因为我们选择不要求打包工具为您安装依赖项。