我正在尝试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