Reputation: 1045
I'm trying to pip install autogluon on an amazon linux ec2 instance. All other pip installs have worked so far, but pip installing autogluon throws the following error:
ERROR: Failed building wheel for bottleneck
Failed to build ConfigSpace psutil bottleneck
ERROR: Could not build wheels for ConfigSpace, bottleneck which use PEP 517 and cannot be installed directly
Is this an inherent issue when trying to install these packages on an ec2?
Upvotes: 0
Views: 1457
Reputation: 41
I got the same error and tried
sudo yum install python3-devel
and got autogluon installed! fatal error: Python.h: No such file or directory
Upvotes: 3
Reputation: 2292
This sounds more like a pip
issue, it's unlikely that it relates to the EC2 itself. Try the following:
python -m pip install pip --upgrade
python -m pip install autogluon --no-use-pep517
Upvotes: 1