FS#57271 - [sagemath] Starting sage with --python2 or --python3 flags tries to execute python22 or python23
Attached to Project:
Community Packages
Opened by Taylor Lee (taylorlee) - Monday, 29 January 2018, 13:46 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 January 2018, 14:50 GMT
Opened by Taylor Lee (taylorlee) - Monday, 29 January 2018, 13:46 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 January 2018, 14:50 GMT
|
Details
Description:
When trying to run a python 2 or 3 script with sage's version of python, the argument sage --python2 or sage --python3 returns an error that says python22 or python23 is not found. You can see the original sage file's lines here: https://github.com/sagemath/sage/blob/master/src/bin/sage#L581 As you can see, when the python2 or python3 flag is passed, it tries to execute with python2 or python3 respectively. This problem also exists with the ipython flag. |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 29 January 2018, 14:50 GMT
Reason for closing: Fixed
Additional comments about closing: sagemath 8.1-6
Monday, 29 January 2018, 14:50 GMT
Reason for closing: Fixed
Additional comments about closing: sagemath 8.1-6
Comment by Antonio Rojas (arojas) -
Monday, 29 January 2018, 14:14 GMT
ipython is correct, we want 'sage -ipython' to run ipython2 since
our sage is compiled with python2.