I am using Tex Live and Strawberry Perl installation on Windows 10. My ultimate goal was to get LaTeX to retrieve data from a spreadsheet, as shown in this old response. However, at this point I am trying to get Perl code using an additional module to work in perltex
. When attempting to use a module in perltex
! Package perltex Error: Can't locate Excel/Writer/XLSX.pm in @INC (you may need to
install the Excel::Writer::XLSX module) (@INC contains:
E:/Programmdateien /texlive/2019/tlpkg/tlperl/lib
E:/programmdateien/texlive/2019/tlpkg/tlperl/site/lib
E:/programmdateien/texlive/2019/tlpkg/tlperl/lib) BEGIN failed--compilation
aborted at (eval 13) line 6.
(perltex) .
The modules are indeed installed properly. I know this because I can run the Perl code just fine with the desired outcome. The issue only occurs when trying to build using perltex
.
TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 1
.