[OS X TeX] I can't install the Perl library(ies) needed to run latexindent

Joe Heafner heafnerj at gmail.com
Thu Jul 16 23:10:29 EDT 2020


I’m trying to use latexindent on my iMac running MacTeX 2020 under Catalina 10.15.6. I’m following the instructions in the latexindent documentation. When I attempt to run the installer script

perl latexindent-module-installer.pl

it fails becuase Perl can’t find the script. So when I give the full path to the script, the run still fails and I get:

============
latexindent.pl module installer
============
Would you like to run the following commands?
cpanm YAML::Tiny
cpanm File::HomeDir
cpanm Unicode::GCString
cpanm Log::Log4perl
cpanm Log::Dispatch
Press Y to run the above commands (Y/N): Y
Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
(base) heafnerj at Betelgeuse ~ % 

Any help would be appreciated. 


Joe Heafner
Sent from one of my Macs




More information about the MacOSX-TeX mailing list