The question is specific to Tex Live 2016.
I use Tex Live 2016:
tex --version
TeX 3.14159265 (TeX Live 2016)
Upon running
pdflatex file.tex
I encounter an error of this type
! LaTeX Error: File `pgf-pie.sty' not found.
How to install a package in Tex Live 2016?
pgf-pie.styis not part of TeX Live. You have to download it from https://www.ctan.org/tex-archive/graphics/pgf/contrib/pgf-pie and install if manually. – Schweinebacke Apr 20 '17 at 14:23