0

I'm confused as to how to use sagemath in python, all I know is you cannot do pip install sagemath

https://stackoverflow.com/questions/50039916/no-module-named-sage-all?r=SearchResults&s=2|57.7562

And all I could find were articles saying to use from sage.all import *, which produces the error ModuleNotFoundError: No module named 'sage.all'

Would appreciate any help, thanks!

Hao S
  • 295
  • 1
  • 2
  • 15

1 Answers1

0

As per the comments in the other question, install sagemath instead with conda (not pip) and use the same code:

from sage.all import *
William Baker Morrison
  • 1,642
  • 4
  • 21
  • 33