在Ubuntu 18中安装Auto Sklearn

时间:2019-03-23 11:09:26

标签: python python-3.x ubuntu

我已经尝试安装Auto Sklearn一个星期了

并不断失败

每次都有不同的错误

现在我得到这个错误 enter image description here

enter image description here

我尝试了很多冲洗,但是没有用

我尝试使用安装swig

enter image description here

我对Ubuntu非常陌生

感谢帮助

2 个答案:

答案 0 :(得分:1)

您输入的安装错误。复制并粘贴以下内容:

sudo apt install swig

也最好安装以下内容:

sudo apt install python3-dev build-essential 

答案 1 :(得分:0)

最后,我找到了安装Auto Sklearn的方法

请注意,我重新安装了Ubuntu

虽然很长,但是有效(至少对我有用)

1-

Install Ubuntu from Microsoft Store

2-

sudo apt-get install software-properties-common

3-

sudo apt-add-repository universe

4-

sudo apt-get update

5-

sudo apt-get install python-pip

6-

sudo apt install python3-pip

7-

sudo apt-get install swig

8-

pip3 uninstall numpy

9-

pip3 uninstall numpy

10-

pip uninstall numpy

11-

pip uninstall numpy

12-

curl https://raw.githubusercontent.com/automl/auto-sklearn/master/requirements.txt | xargs -n 1 -L 1 pip3 install

13-

pip3 uninstall numpy

14-

pip3 uninstall numpy

15-

pip uninstall numpy

16-

pip uninstall numpy

17-

pip3 install numpy

18-

pip3 install auto-sklearn