sh not available on Windows. #4

Closed
rask opened this Issue Jun 13, 2014 · 4 comments

Projects

None yet

3 participants

@rask
rask commented Jun 13, 2014

When installing magpie using pip install magpie the procedure errors out when attempting to install sh:

ImportError: sh 1.09 is currently only supported on linux and osx. please install pbs 0.110 (http://pypi.python.org/pypi/pbs) for windows support.

I did not see linux/osx as requirements in the documentation, and do not have the know-how on how to make magpie use pbs instead of sh on Windows. I could install pbs on its own, but the magpie installers insists on using sh.

I'm running msysgit bash on Windows 7 64-bit. Python version 2.7.

@charlesthomas
Owner

magpie uses sh for three things:

  1. git
  2. grep
  3. find

In addition to that, it also uses filemagic which requires libmagic, which I suspect will also not work on Windows. I've never built a Python app for Windows, but I would love to see a pull request where someone figures these issues out.

@matthewi
Contributor

The dependencies install correctly under cygwin. I'm investigating some
other issues in this environment however.

@matthewi
Contributor

#15 corrects the cygwin issues I was seeing.
Sh package only works on Unix-like systems (OSX, Linux, etc). The same with libmagic. Both work under cygwin. At this time I would consider cygwin a reasonable work around for windows support.

@charlesthomas
Owner

I'm going to close this, since it at least works in cygwin. I'd like to get it working on any OS, but I don't expect that to happen any time soon.

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