Skip to content

'perl' and 'cat' is not recognized #49

Description

@rm1377

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions