I would like to use Pythontex. I am on Mac texlive2019, python 3.7 (anaconda) TeXShop V 4.31 I followed all that was written on the documentation for the installation but impossible to have the result
\documentclass[12pt,french]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{babel}
\usepackage{pythontex}
\setlength{\parindent}{0pt}
\begin{document}
\begin{pyverbatim}
import math
def racine(a):
return math.sqrt(a)
print(racine(9))
\end{pyverbatim}
\bigskip
Résultat :
\begin{pycode}
import math
def racine(a):
return math.sqrt(a)
print(racine(9))
\end{pycode}
\begin{pyconsole}
var = 1 + 1
var
\end{pyconsole}
\end{document}
echo $PATHreturn in Terminal? – Herb Schulz Aug 04 '19 at 15:38