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

Problems running in Windows 10 due to bash scripts #4

Open
mcarvajalino opened this issue Jul 28, 2020 · 0 comments
Open

Problems running in Windows 10 due to bash scripts #4

mcarvajalino opened this issue Jul 28, 2020 · 0 comments

Comments

@mcarvajalino
Copy link

After the following the traditional installation steps in a system with Windows 10, I got an error where the ladim command was not recognized by the system:

C:\Users\marcos.fernandes>ladim
'ladim' is not recognized as an internal or external command,
operable program or batch file.

This is a consequence of the ladim script being written with bash, which is not supported by the standard Windows command line interfaces (cmd, powershell). There are a couple workarounds on the internet for this, in my case I installed Git for Windows, modified the environmental variables and ran bash via the "sh" command, but most methods require either the installation of third party programs (Cygwin, git) and/or the direct intervention by the user in the system. This might be a high entry barrier to promote the model, so it might be better to include some library or workaround directly in the setup routines to directly implement shell/bash compatibility for windows users?

PS: Additionally, The shebang at the ladim script template includes a blank space between the path to the anaconda environment and the "python" command, this must be manually corrected in the final installed script to avoid another error in windows...

#! /usr/bin/env python
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

1 participant