TensorFlow installation issue on Digital Ocean

Hi guys,
i would like to test and use TensorFlow on an Ubuntu VM on Digital Ocean. I’ve started with a 512MB installation and i received a “MemoryError”.

Based on that i increased memory on my VM from 512MB to 1GB and i received this message during installation with pip

Blockquote Downloading tensorflow-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 589.8/589.8 MB 97.1 MB/s eta 0:00:01Killed

I suppose the problem is the same (Lack of memory probably for pip installation).

Have u got any suggestion / experience about how much memory is needed to install tensorflow on a DigitalOcean Ubuntu VM in this way or have you got any suggestion to move on (excluding increase memory that is what i’m supposed to do anyway, but a confirmation is appreciated :grinning:)?

Really thanks a lot to all of you and thanks for your support.
Bye Paolo.

Hi everybody,
i’ve tried to increase some resources to make it working and, just to help everybody, with 25gb on my disk space and 2gb of ram installation works fine.

Some assumptions:

  • no gpu needed on my side
  • 25gb i don’t think it’s mandatory to make it working, but i’ve also BeautifulSoup and NLTK on my server with some tests i’ve already done

Hope that this installation test should be useful for others in future.

Really thanks a lot and if u have any questions feel free to ask.
Have a nice day.
Bye Paolo.