[Tex/LaTex] Unable to include the physics package

physics

I get an error message on 64-bit MikTex for the following minimal example:

\documentclass{article}
\usepackage{physics}
\begin{document}
Hello world
\end{document}

What can be possibly going wrong? I tried everything I know.

Best Answer

Your .log file seems to show that both xparse.sty and expl3.sty are located in the same folder as your .tex file, while they should have been in c:/texlive/2017/..., as is the case with l3names.sty. The first place LaTeX looks for files is, I think, the current folder. So presumably, if you delete those local copies of xparse and expl3 (or even have the .tex file in a different folder), it would work.