im2markup
im2markup copied to clipboard
'perl' and 'cat' is not recognized
I wanted to run code on windows 10 but i got this error and it's making an empty file for me, i installed Perl and it doesn't work for me... python scripts/preprocessing/preprocess_filter.py --filter --image-dir data/sample/images_processed --label-path data/sample/formulas.norm.lst --data-path data/sample/validate.lst --output-path data/sample/validate_filter.lst
2022-05-12 07:39:23,971 root INFO Script being executed: scripts/preprocessing/preprocess_formulas.py 'perl' is not recognized as an internal or external command, operable program or batch file. 2022-05-12 07:39:23,984 root ERROR FAILED: perl -pe 's|hskip(.*?)(cm|in|pt|mm|em)|hspace{\1\2}|g' ../dataset/im2latex_formulas.lst > ../dataset-preprocess/im2latex_formulas.norm.lst 'cat' is not recognized as an internal or external command, operable program or batch file. 2022-05-12 07:39:23,997 root ERROR FAILED: cat ../dataset-preprocess/im2latex_formulas.norm.lst.tmp | node scripts/preprocessing/preprocess_latex.js normalize > ../dataset-preprocess/im2latex_formulas.norm.lst 2022-05-12 07:39:23,998 root INFO Jobs finished