secure PATH for sage
Hi there. This question is related to another one more specific on generating teX code for plots. When I run sage on conole it gives the following
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.7, Release Date: 2022-09-19 │
│ Using Python 3.10.5. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
Input In [1]
PATH=$PATH:/usr/local/bin
^
SyntaxError: invalid syntax
The question is how to instantiate PATH in the context ?
it looks like the first order (In[1]) to python is to update the PATH variable. But why the h* it appear here ? anyone with a clue ? Thx in advance M
Please provide more context. What OS are you using, and how did you install Sage? Have you modified Sage at all? Do you have an
init.sage
file? (This looks like an attempt to change the PATH variable usingbash
syntax, but as a Python command, and that's not going to work.)