AutoKeras only supports Python 3.6 so that the running environment has to install Python 3.6. My operation system is Ubuntu 16.04 and it needs to add apt repository first.
Install Python 3.6 and AutoKeras ( Don't remove Python 3.5)
Install Python 3.6 and AutoKeras ( Don't remove Python 3.5)
# Install pip3 apt-get install python3-pip # Install Python 3.6 apt-get install software-properties-common add-apt-repository ppa:jonathonf/python-3.6 apt-get update apt-get install python3.6 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2 update-alternatives --config python3 ln -s /usr/include/python3.5 /usr/include/python3.6m pip3 install lws pip3 install autokeras