I tried easy install and pip to install numpy on an EC2 micro instance. Didn't work.
I get:
RuntimeError: Broken toolchain: cannot link a simple C program
I tried virtualenv too, same story.
What am I doing wrong?
You probably don't have the development packages installed.
Amazon Linux run:
sudo yum groupinstall "Development Tools"
Ubuntu run:
sudo apt-get install packaging-dev
For simple testing, ssh into your instance
sudo yum install gcc
sudo pip install numpy
then go get yourself a coffee. Installed in about 3.5 mins.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With