As a result of another question I'm trying to use Sagetex. I performed the install as directed, and even got the compile to succeed, insofar as there are no fatal errors, but it appears that sagetex isn't actually parsing anything in sage like it should.
\begin{sagesilent}
var("x") #test
Integer(randint(1,4))
a = Integer(randint(2,7))*x+Integer(randint(2,7))
b = Integer(randint(2,7))*x+Integer(randint(2,7))
\end{sagesilent}
This is a test
$(\sage{a})(\sage{b}) = \sage{expand(a*b)}$
Compiles into
This is a test
(??)(??)=??
So it seems like the variable x, and the "a" and "b" are not actually staying defined (or maybe not being defined in the first place).
In contrast, the exact same code in sagecloud defines 2 binomials perfectly fine, then expands them like it should.
The only error I get from latex is "LaTeX Warning: Reference `@sageinline0' on page 1 undefined on input line 120." about 3 times.
For what it's worth I'm using Texmaker as my editor.