# \usepackage{python} not working in miktex (latex), cant run python code in latex document

I want to obtain the results of a python code in a tex document. I have used \usepackage{python} but it doesn't work. Im using windows 10 and visual studio code with the extension latex workshop. I also have installed python.sty in the path C:\Program Files\MiKTeX\tex\latex\python\python.sty

\documentclass{article}

\usepackage{python}

\begin{document}

Testing python package in latex document.

\begin{python}
print('testing')
2 + 2
a= 3
a**4
\end{python}

\end{document}