extrabacon / pyspreadsheet

Python-based high performance spreadsheet API for Node
38 stars 9 forks source link

Cannot install on Windows ( NodeJS / GruntJS ) #4

Open alepicetti opened 10 years ago

alepicetti commented 10 years ago

Whenever I try to install pyspreadsheet on NodeJS on Windows using npm I obtain this error:

bash install.sh

'bash' is not recognized as an internal or external command, operable program or batch file. npm ERR! pyspreadsheet@0.0.3 install: bash install.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pyspreadsheet@0.0.3 install script. npm ERR! This is most likely a problem with the pyspreadsheet package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! bash install.sh npm ERR! You can get their info via: npm ERR! npm owner ls pyspreadsheet npm ERR! There is likely additional logging output above.

extrabacon commented 10 years ago

Yes, unfortunately Windows is not supported at this point. Needs a Powershell script written specifically for Windows.

It should be pretty straightforward, all the script does is cloning some Git repositories.

In the meantime you could clone them yourself. The repositories are: https://github.com/python-excel/xlrd https://github.com/python-excel/xlwt https://github.com/jmcnamara/XlsxWriter https://bitbucket.org/ericgazoni/openpyxl

It also assumes that Python is readily available in your environment, which is not always the case in Windows.

igabesz commented 8 years ago

I think this issue could be closed, I regularly use this lib on Win 8.1.

igabesz commented 8 years ago

Ahh.. now I see it... I use win-bash to run *.sh files, I recommend the same for all win users. Also, after the recent Build announcement this issue slowly becomes irrelevant, see this: https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/