Describe the bug
Exe file keeps throwing an error AttributeError: module layoutparser has no attribute Detectron2LayoutModel.
Python file works fine on virtualenv when trying to run.
Checklist
I have searched related issues but cannot get the expected help.
You may add addition that may be helpful for locating the problem, such as
Torch and torchvision installed.
Error traceback
File "main.py", line 238, in aaoStartProcess
File "ExtractPDFText.py", line 145, in imageToCV
File "ExtractPDFText.py", line 45, in parse_table_figure_layout
File "layoutparser\file_utils.py", line 226, in getattr
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug Exe file keeps throwing an error AttributeError: module layoutparser has no attribute Detectron2LayoutModel. Python file works fine on virtualenv when trying to run.
Checklist
To Reproduce Steps to reproduce the behavior:
Environment
Error traceback File "main.py", line 238, in aaoStartProcess File "ExtractPDFText.py", line 145, in imageToCV File "ExtractPDFText.py", line 45, in parse_table_figure_layout File "layoutparser\file_utils.py", line 226, in getattr
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.