Unable to uninstall Python-3.7.0a1

Hi,
I have a debian EC2 instance. It has Python2.7 pre-installed. I installed Python-3.7.0a1 on this server. Now when I’m trying to unisntall Python-3.7.0a1, I’m getting error.
Command used to uninstall - sudo apt remove python3.7
Error -
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package Python-3.7.0a1
E: Couldn’t find any package by glob ‘Python-3.7.0a1’
E: Couldn’t find any package by regex ‘Python-3.7.0a1’