Auto-sklearn安装错误

eva*_*ria 9 python pip machine-learning python-3.x scikit-learn

我正在尝试使用auto-sklearn pip install auto-sklearn,但它会引发错误:

Command "/usr/bin/python3.5 -u -c "
    import setuptools, tokenize;
    __file__='/tmp/pip-build-tl8y2tfg/psutil/setup.py';
    f=getattr(tokenize, 'open', open)(__file__);
    code=f.read().replace('\r\n', '\n');
    f.close();
    exec(compile(code, __file__, 'exec'))
"install 
    --record /tmp/pip-7t8rbku0-record/install-record.txt 
    --single-version-externally-managed --compile" 
failed with error code 1 in /tmp/pip-build-tl8y2tfg/psutil/
Run Code Online (Sandbox Code Playgroud)

在我的/tmp/目录中没有以"pip-"开头的内容.

我完全按手动完成所有步骤,但仍然有此错误.

我也尝试使用这个问题的命令,但在两种情况下都得到了相同的错误.

我的操作系统是Ubuntu 16.04.2.

我该如何安装auto-sklearn?

J_H*_*J_H 0

使用sudo写入系统库通常会带来麻烦,因为在不同的 id 下运行时,诸如 PATH 之类的重要变量会有所不同。相反,请遵循手册中的建议,并在 virtualenv 中安装,以普通用户身份运行。