I launched the msys console and checked the path environment variable. I got the following:

sh: /c/Users/wud/AppData/Local/Continuum/Miniconda3/Library/mingw-w64/bin/:.:/us
r/local/bin:/mingw/bin:/bin:/c/Program: No such file or directory

Obviously the space in "Program Files" is the culprit. How can I fix this?


The actual problem there is that you just did $PATH and not echo $PATH. By doing that, you tried to run your path as if it were a program, rather than just display it. There's no actual problem with a space in your path.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.