Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cannot install on Windows ( NodeJS / GruntJS ) #4

Open
alepicetti opened this Issue Jan 21, 2014 · 3 comments

Comments

Projects
None yet
3 participants

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.

Owner

extrabacon commented Jan 21, 2014

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 Apr 3, 2016

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

igabesz commented Apr 3, 2016

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment