1

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
4

1 に答える 1

0

パッケージ化ツールが依存関係をインストールする必要がないことを選択したためです。

于 2013-11-08T22:47:49.500 に答える