Hi! I have an instruction here https://wiki.sagemath.org/Python3-compatible%20code
, how to build sage with python3. But sage uses, I think, its own python3. So when sage wants to import something, sage can't do it, because libs are installed on system python3. Mosule six for example. I had an idea, make smth like this:
spec = importlib.util.spec_from_file_location("six", "/usr/lib/python3/dist-packages/six.py")
six = importlib.util.module_from_spec(spec)
but it doesn't work with numpy. Help me please! May be I can change sage python to my system python3?