I have installed Windows 7, MiKTeX 2.9, TeXnicCenter 2.02 stable and Python 3.4.1 (distribution pyzo2015a). I use
latex pythontex.ins
form cmd to install the package pythontex:
It seems to me that no files have been created in MiKTeX. Hence I have recopied manually the files to the appropriate directories as README.
My pythontex.bat (in C:\MiKTeX 2.9\miktex\bin) contains
@echo off "C:\MiKTeX 2.9\scripts\pythontex\pythontex.py" %*
My PATH contains
C:\pyzo2015a;C:\MiKTeX 2.9\miktex\bin;C:\windows\system32
I used the following commands in the cmd:
From the quickstart of this package:
"Compiling a document that uses pythontex involves three steps: run LATEX, run pythontex.py, and finally run LATEX again".
And the .pdf file obtained from the tex file (after several latex compilation) looks like this: ??
1) I am not able to process the second step. How do I activate pythontex.py on a .tex file from TeXnicCenter? My feeling is that my system does not recognise pythontex.py: there is a problem in my installation of pythontex.
2) Is it possible to make automatic this task with TeXnicCenter (by using a postprocessor?)? I use
C:\MiKTeX 2.9\miktex\bin\pdflatex.exe
in my profile.



pythontex_install.py, which can be used after generatingpythontex.styto move files automatically. At this point, runningpdflatex test.tex,pythontex test.tex, and finallypdflatex test.texshould work. Ifpythontexis giving any error messages, please add those to your question. Also, knowing what is intest.texmight help.