# Import sage in python3

Hi,

I've just finished building sage from source with python3, and it works great! I'm just wondering why `from sage.all import *`

doesn't work in my python3, although trying the same in the sage shell works, so I guess it has to be a matter of environment variables? What should I do to be able to import sage in python3 scripts without having to rely on a sage shell?

Best,

Florian

(Sort of) WorksForMe(TM):

However:

You have to somehow tell to Python the place where to look for Sage...

HTH,

The full sage build includes its own Python interpreter--it doesn't install the

`sage`

package in your system's Python (eventually there will be an option for this by way of #27824 but that's a ways away yet :(