TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to install pythontex on Windows 8 (64-bit) with MiKTeX installed.

  • I have tried running "latex pythontex.ins" from the directory but it doesn't work.
  • I have tried using the package manager but pythontex is not there.
  • I have tried running "tlpkg install pythontex" but it seems its not installed.
  • I have tried running "python pythontex_install_texlive.py" from the directory but it complains that it cannot find TEXMF.

Please Help :(

share|improve this question
Are you using the latest version of the install script? An earlier version had a bug that prevented it from requesting manual entry of a path, in the event that TEXMF cannot be found. Also, does kpsewhich -var-value=TEXMFDIST work for you on the command line? – G. Poore Dec 1 '13 at 5:02
Here is a screenshot it that helps i.imgur.com/iTWPdC3.jpg – Joy Dec 1 '13 at 6:34
hi G.Poore, Firstly Thanks for creating pythontex :) and i was thinking of sending u an email. I used the version available on github. – Joy Dec 1 '13 at 7:54
running kpsewhich -var-value=TEXMFDIST returns c:\Program Files\MiKeTeX 2.9 – Joy Dec 1 '13 at 7:55
Have you tried manually entering a path after you get to that step in the install script? If you don't already have a directory for manually installing packages, you could take a look at tex.stackexchange.com/questions/2063/…. – G. Poore Dec 1 '13 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.