2020-04-04 16:25:06 +0200 | asked a question | How to use a python lib by sageMath? Hello, Here's my problem : I have sage v.9 in my Debian 4.9 and I want to use it by importing a python lib that I downloaded from a private repo on Github. This library is in a repo in which there is a makefile in which I have to indicate the path of sage's binary, otherwise I can't run a make.
The first line of the makefile is :
So with
but none of them works. When I type make, I received the error : Error: You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. Error setting environment variables by sourcing '/home/rachidi/SageMath/local/bin/sage-env'; Do you please know what path I have to indicate? Thanks. |
2020-04-04 16:25:06 +0200 | asked a question | How to use a python lib by sage? Hello, Here's my problem : I have sage v.9 in my Debian 4.9 and I want to use it by importing a python lib that I downloaded from a private repo on Github. This library is in a repo in which there is a makefile in which I have to indicate the path of sage's binary, otherwise I can't run a make.
The first line of the makefile is :
So with
but none of them works. When I type make, I received the error : Error: You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. Error setting environment variables by sourcing '/home/rachidi/SageMath/local/bin/sage-env'; Do you please know what path I have to indicate? Thanks. |