knorthover

Member Since: April 19, 2012

Country: United States

  • Setup on windows Git-bash can have issues running Python (https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash/49384676).

    The simplest way to deal with this, the renaming to Python 3 and ensuring that the right version of bash gets invoked is probably to configure a .bashrc in ~ (%USERHOME%). I use something like this (I have a specific Anaconda environment for Edge).

    alias python='winpty /c/apps/Anaconda3-51/envs/edge/python.exe'
    alias python3='winpty /c/apps/Anaconda3-51/envs/edge/python.exe'
    alias bash='winpty /c/Program Files/Git/git-bash.exe'
    

No public wish lists :(