Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to load local PARI/GP script in Sage notebook?

I have a PARI/GP script which I want to load and run locally on my laptop inside the notebook. I tried to open a new notebook in the same directory where my script is located, and in the first cell I tried to run this:

%default_mode gp

But, it throws the following error:

UsageError: Line magic function '%default_mode` not found.

How can I run a PARI/GP script locally?

How to load local PARI/GP script in Sage notebook?

I have a PARI/GP script which I want to load and run locally on my laptop inside the notebook. I tried to open a new notebook in the same directory where my script is located, and in the first cell I tried to run this:

%default_mode gp

But, it throws the following error:

UsageError: Line magic function '%default_mode` not found.

Please note that I'm using Sage 8.3. How can I run a PARI/GP script locally?

How to load local PARI/GP script in Sage notebook?

I have a PARI/GP script which I want to load and run locally on my laptop inside the a Sage notebook. I tried to open a new notebook in the same directory where my script is located, and in the first cell I tried to run this:

%default_mode gp

But, it throws the following error:

UsageError: Line magic function '%default_mode` not found.

Please note that I'm using Sage 8.3. How can I run a PARI/GP script locally?

How to load local PARI/GP script in Sage notebook?

I have a PARI/GP script which I want to load and run locally on my laptop inside a Sage notebook. I tried to open a new notebook in the same directory where my script is located, and in the first cell I tried to run this:

%default_mode gp

But, it throws the following error:

UsageError: Line magic function '%default_mode` not found.

Please note that I'm using Sage 8.3. How can I run a PARI/GP script locally?