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

后端 未结 4 1789
南旧
南旧 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 09:41

    Adding my fix, for people who are facing this issue in Anacond2

    After you install anaconda2 , run this command in cygwin (suppose you have installed it at c:\anaconda2)

    echo "PATH=\$PATH:/cygdrive/c/anaconda2" >> .bash_profile
    echo "PATH=\$PATH:/cygdrive/c/anaconda2/Scripts" >> .bash_profile
    source .bash_profile 
    

    More info available at https://www.davidbaumgold.com/tutorials/set-up-python-windows/#installing-cygwin

提交回复
热议问题