Sagemath calling Python 2.7 even though I have 3.8.8 installed.
I am working on Macbook and I recently installed sagemath using dmg
. I have been working with anaconda for some time and I have installed many modules with it. Sagemath is running fine with jupyter notebook, but it is calling python 2.7
instead of 3.8.8
because of which I am not able to access those modules. Any ideas on how to fix this problem?
Did you use https://github.com/3-manifolds/Sage_m... ?
Yes, I downloaded the latest release from there, which is v9.4 .
What do you mean by "it is calling python 2.7"? Can you provide more details?
I mean that the sage kernel is using Python 2.7 from the root as the interpreter, but I want to use 3.8. So how do I make sage kernel use 3.8 .
I can't reproduce this. When I download SageMath-9.4.dmg from the 3-manifolds page, it uses Python 3.9.5, whether I use the command line interface or Jupyter. How do you know it's running 2.7? Is this from the command line and you're seeing 2.7 in the banner? Or is it with the notebook?