Sorry to bother you, again. I swear I got pythonimmediate pkg working in LaTeX just a few months ago because I remember thinking I should probably switch from pythontex. I decided to update my TeX template with that change, yesterday, and found out that I couldn't get \py{} to produce anything other than "None". Have you seen this?
I'm using TeXLive2023 on Fedora 43. F44 will be out next month with TeXLive 2026, so I'm excited for that, but haven't had a chance to try that version, so not sure if that will solve the issue, or not.
% MWE
\documentclass{article}
\begin{document}
\begin{pycode}
import pythonimmediate
print("help!")
print(1+1)
\end{pycode}
Start of text.
The value of $1+1$ is $\py{1+1}$.
End of text.
\end{document}
Almost certaintly unrelated, but I noticed that pip says the version of pythonimmediate-tex I have installed is 0.7.2, but the latest release tag I see here on github is 0.6.0.
Sorry to bother you, again. I swear I got pythonimmediate pkg working in LaTeX just a few months ago because I remember thinking I should probably switch from pythontex. I decided to update my TeX template with that change, yesterday, and found out that I couldn't get \py{} to produce anything other than "None". Have you seen this?
I'm using TeXLive2023 on Fedora 43. F44 will be out next month with TeXLive 2026, so I'm excited for that, but haven't had a chance to try that version, so not sure if that will solve the issue, or not.
Almost certaintly unrelated, but I noticed that pip says the version of pythonimmediate-tex I have installed is 0.7.2, but the latest release tag I see here on github is 0.6.0.