# Why won't tikz work? [closed]

I've been trying to use the tikz package but it won't work. I'm using TeXworks and when I try something basic like:

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) --(1,2);
\end{tikzpicture}
\end{document}


And I get the error message:

miktex-pdftex.exe: Cannot start MiKTeX package manager.
miktex-pdftex.exe: Data: Invalid syntax

! LaTeX Error: File tikz.sty' not found.


I've tried the update feature on MikTeX and using the Package Manager that comes with MiKTeX (and there was no tikz.sty package there) but have had no luck, and get the same message.

-
The package is called pgf. – Qrrbrbirlbel Jan 3 at 19:05
What version of LaTeX are you running? If it's not current, you might want to update it. You code works fine for me, but I also have the most recent version of LaTeX on my machine. – A.Ellett Jan 3 at 19:07
The error is from MiKTeX, and suggests that 'on the fly' installation is broken in some way. What happens if you open the MiKTeX Package Manager and try to install TikZ? – Joseph Wright Jan 3 at 19:17
@Qrrbrbirlbel I installed the pgf package with the package manager and tried it again, and I've been given a similar message, but that everyshi.sty could not be found – Danger Fourpence Jan 3 at 19:18
@Qrrbrbirlbel I installed the ms` package and it works, thanks. – Danger Fourpence Jan 3 at 19:22
show 4 more comments

## closed as too localized by Qrrbrbirlbel, Joseph Wright♦Jan 3 at 19:38

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.