So I think I'm suppose to write the line from sage.all import * in my python script which raises the error
File "c:/Users/user/Downloads/PyFolder/umphy.py", line 2, in <module> from sage.all import * ModuleNotFoundError: No module named 'sage.all'
So I tried installing sage in python.
PS C:\Users\user> pip install sage Requirement already satisfied: sage in c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (0.0.0)