Friday, 8 October 2021

How to use sagemath on python?

I would like to use cubegroup of sagemath. I did as follows.

python -m pip install sagemath

and then

import sagemath.cubegroup;

in python script. But I got the following error.

ImportError: No module named cubegroup

I tried both python2 and python3 but neither worked. I also tried sage instead of sagemath, but didn't work either.

How can I use sagemath and cubegroup on python?



from How to use sagemath on python?

No comments:

Post a Comment