I am trying to deploy a ml model on AWS. Default version of python on ubuntu instance is 3.8 but there is some error due to python version. I have installed higher version of python also. Command "python3 –version" gives default version and "python –version" gives the version I installed.command results

Now python3 have all the packages installed but while using python to run server.py , there is an error : module not found. Error using python command I am new to both deployment and ubuntu. Please help me with installing packages on python. (I have also used pip3 but packages gets installed on python3.8 version)

Anonymous Asked question May 13, 2021