aws cli in cygwin - how to clean up differences in windows and cygwin style paths

后端 未结 4 1783
南旧
南旧 2021-02-06 09:16

I suspect this is my ineptitude in getting path variables set right, but I\'m at a loss.

I\'ve installed the aws cli using pip in cygwin.

pip install aws         


        
4条回答
  •  隐瞒了意图╮
    2021-02-06 10:00

    Thanks to matzeri in the comments above for steering me to the fix.

    The problem was that cygwin had it's own python version... but not pip... so when I used "pip install" in cygwin to install awscli, it was the windows/anaconda pip. the solution didn't involve fixing paths, as matzeri pointed out, it would never resolve that with paths... it was these two lines...

    python -m ensurepip  # install a cygwin pip
    pip install awscli   # to install awscli for cygwin
    

提交回复
热议问题