pyspreadsheet icon indicating copy to clipboard operation
pyspreadsheet copied to clipboard

Cannot install on Windows ( NodeJS / GruntJS )

Open alepicetti opened this issue 11 years ago • 3 comments

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! [email protected] install: bash install.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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.

alepicetti avatar Jan 21 '14 17:01 alepicetti

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.

extrabacon avatar Jan 21 '14 18:01 extrabacon

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

igabesz avatar Apr 03 '16 12:04 igabesz

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/

igabesz avatar Apr 03 '16 12:04 igabesz