pythonamazon-ec2pippep517

Pip Install On Amazon Linux ec2 PEP 517 Error


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?


Solution

  • On Amazon Linux 2, install gcc

    yum install gcc