leftshifters / excel-parser

nodejs wrapper for parsing spreadsheet.
MIT License
72 stars 70 forks source link

While parsing excel getting issue with python . #34

Open sadanandGithub123 opened 8 years ago

sadanandGithub123 commented 8 years ago

Hi I am trying to parse an excel file with following code snippet ..

var excelParser = require('excel-parser'); excelParser.worksheets({ inFile: './DataRepo/sample.xlsx' }, function(err, worksheets){ if(err) console.error(err); console.log(worksheets); });

But its throwing an error as below -- Started { [Error: Command failed: C:\Windows\system32\cmd.exe /s /c "python

I am using Python 2.7 Please suggest some solution .

sthawali commented 8 years ago

I haven't try this on Windows @sadanandGithub123 but from the error I think you have issue with your PATH setting. You need to have cmd.exe with PATH setting.

ghost commented 4 years ago

Have this too: "Error: Command failed: python D:\\Projects\\station\\node_modules\\excel-parser/convert.py -x \"..\\..\\assets\\xls\\file.xls\" -W\n"