Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sh not available on Windows. #4

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

sh not available on Windows. #4

rask opened this issue Jun 13, 2014 · 4 comments

Comments

@rask
Copy link

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:https://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
Copy link
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
Copy link
Contributor

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

@matthewi
Copy link
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
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants