answered 5 years ago
The problem is that your script is called "sage.py", so when you try from sage.all import *, it tries to import it from this file. Rename your script to something else.
from sage.all import *