I'm trying to use AWS EC2 instance for to test my ML project. During the package installation process of TensorFlow getting kills every time.
I'm using AWS trial EC2 t2.micro type instance for my testing purposes.
t2.micro11GBUbuntu Server 20.04 LTS (HVM), SSD Volume Type
Is there any soulutions for this?
I had the exact same problem, and I finally fixed it by doing the following:
pip install tensorflow-cpu instead of just pip install tensorflowUse --no-cache-dir argument with the pip installation command to resolve the tensorflow installation killed issue in aws ec2 instances.
pip3 install tensorflow --no-cache-dir

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