为什么在通过pip安装auto-sklearn
时会收到$ virtualenv -p python3 automl
$ cd automl/
$ source bin/activate
$ pip install auto-sklearn
Collecting auto-sklearn
Downloading auto-sklearn-0.1.1.tar.gz (5.9MB)
100% |████████████████████████████████| 5.9MB 265kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-whq6xjt6/auto-sklearn/setup.py", line 2, in <module>
import autosklearn
File "/tmp/pip-build-whq6xjt6/auto-sklearn/autosklearn/__init__.py", line 2, in <module>
from autosklearn.util import dependencies
File "/tmp/pip-build-whq6xjt6/auto-sklearn/autosklearn/util/__init__.py", line 4, in <module>
from .common import *
File "/tmp/pip-build-whq6xjt6/auto-sklearn/autosklearn/util/common.py", line 4, in <module>
from sklearn.externals import six
ImportError: No module named 'sklearn'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-whq6xjt6/auto-sklearn/
?
$ wget https://raw.githubusercontent.com/automl/auto-sklearn/master/requirements.txt
$ pip install -r requirements.txt
$ pip install numpy six Cython # something goes wrong here too!?
$ pip install -r requirements.txt
$ pip install auto-sklearn
pip分布似乎缺少依赖关系。但为什么自动安装依赖项不起作用?我可以用这种方式安装auto-sklearn:
install_requires
我查看了https://pypi.python.org/pypi/auto-sklearn/0.1.1处的tar.gz tar文件,setup.py
中的MANIFEST.in
对我来说似乎没问题。 requirements.txt
是否需要Tables-user_names
field1 =user_id (PK)
field2 =user_name
Table-files
field1 =user_id (FK)
field2 =file_name
field3 =city_id (FK)
field4 =state_id (FK)
Table-city
field1 =city_id (PK)
field2 =city
Table-state
field1 =state_id (PK)
field2 =state
行?
我在https://github.com/automl/auto-sklearn/issues/206为GitHub提出了一个问题,但已经关闭了。需要手动安装的原因是什么?