axa-group / Parsr

Transforms PDF, Documents and Images into Enriched Structured Data
Apache License 2.0
5.86k stars 311 forks source link

Unable to Run API using Python #603

Closed ShivamSharma2705 closed 2 years ago

ShivamSharma2705 commented 2 years ago

Hi, I am trying to run the demo and am getting the following:

Error: File not found at FileManager.checkFile (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\FileManager.js:104:19) at FileManager.getFilePath (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\FileManager.js:71:25) at ApiServer. (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:446:49) at step (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:67:23) at Object.next (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:48:53) at C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:42:71 at new Promise () at __awaiter (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:38:12) at ApiServer.handleGetFile (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:437:16) at ApiServer.handleGetMarkdown (C:\Users\shar703\Desktop\Parsr-master\api\server\dist\api.js:431:14)

When I render any output. The attached is the output from my parsr API

Parsr error

The api says

"Python not found"

BinaryBrain commented 2 years ago

You need to install Python and it should be able to run when you type python in your terminal.

ShivamSharma2705 commented 2 years ago

Yeah, python is installed