I have the need to use the older python 2.7 with numpy for a Spark project on EC2 ubuntu 22.04. These were what I did ...
sudo apt update
sudo apt install python2.7
sudo apt-get install python-numpy
The last step got an error "E: Unable to locate package python-numpy".
Any suggestions on to fix the problem?