Why is .sage file not running from terminal on Ubuntu 20.04?
I have successfully run myFile.sage script file from terminal in Ubuntu 14.04, just typing the command sage myFile.sage, but this is not working on Ubuntu 20.04 Terminal. Shows error : ModuleNotFoundError: No module named 'sage'. Sage is installed in OS. How can I solve this issue?
HI @Md Kutubuddin Sardar
What is the SageMath version ?
First of all could you try the simple sage command
cd sagethen./sageand tell us what happens?I am using Sage 9.0. I have used your code
cd sage, it givesand
./sagegives: