I have a full installation of Texlive 2019 and both 2.7 and 3.7 versions of Python installed. I want to compile the following simple project wich contains a python command inside pythontex environment.
\documentclass{article}
\usepackage{amsmath}
\usepackage{pythontex}
\begin{document}
\begin{pycode}
print ('Hello, World')
\end{pycode}
\end{document}
I first compile with pdflatex and when I run pythontex test.tex python command the error I get is
C:\texlive\2019\bin\win32\runscript.tlu:931:
C:\texlive\2019\bin\win32\runscript.tlu:898:
program not found (not part of TeX Live): python.exe
but I don't know if TexLive or Python installation is responsible for this. I tried to update Texlive but the problem remains. I also followed instuctions from this topic: Pythontex doesn't work