If I run pip install awscli I get this (which is fine)
$pip install awscli
Requirement already satisfied: awscli in c:\users\marc\anaconda2 \lib\site-packages
Requirement already satisfied: s3transfer<0.2.0,>=0.1.9 in c:\users\marc\anaconda2\lib\site -packages (from awscli)
Requirement already satisfied: rsa<=3.5.0,>=3.1.2 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: PyYAML<=3.12,>=3.10 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: docutils>=0.10 in c:\users\marc\ anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: botocore==1.4.92 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: colorama<=0.3.7,>=0.2.5 in c:\users\marc\anaconda2\lib\site-packages (from awscli)< br />Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in c:\users\marc\anaconda2\lib\site- packages (from s3transfer <0.2.0,>=0.1.9->awscli)
Requirement already satisfied: pyasn1>=0.1.3 in c:\users\marc\anaconda2\lib\site-packages (from rsa<=3.5. 0,>=3.1.2->awscli)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\marc\anaconda2\lib\site-packages (from botocore== 1.4.92->awscli)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\marc\anaconda2\lib\site-packages (from botocore==1.4.92- >awscli)
Requirement already satisfied: six>=1.5 in c:\users\marc\anaconda2\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore==1.4. 92->awscli)
However, when I want to configure everything and enter aws, I get:
$aws
C: \Users\Marc\Anaconda2\python.exe: can't open file'/cygdrive/c/Users/Marc/Anaconda2/Scripts/aws': [Errno 2] No such file or directory
After step 4: apt- cyg install python,
which python will return the required usr/bin/python.
However, running python -i from cygwin still opens my local anaconda python instead of cygwin python.
I ended up using this workflow:
>Click to uninstall awscli
> wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
>install apt-cyg /bin
> apt-cyg install python
> wget https://bootstrap.pypa.io/get-pip.py
> /bin/python~/ get-pip.py
> /bin/pip install awscli
>/bin/aws
So every time I use /bin/…force cygwin to use its local version of the program. This is very troublesome, maybe I will look into better Method to make cygwin prefer its own version of python instead of the anaconda version.
I also need to change the installation file from windows to unix style, so:
> apt-cyg installation dos2unix> dos2unix setup_p2.sh> dos2unix setup_instance.sh> Then finally, bash setup_p2.sh
I downloaded Cygwin and Python 2.5 version. Now I want to build on aws A deep learning computer (follow this tutorial: https://www.youtube.com/watch?v=8rjRfW4JM2I)
If I run pip install awscli I get this (which is good)< /p>
$pip install awscli
Requirement already satisfied: awscli in c:\users\marc\anaconda2 \lib\site-pac kages
Requirement already satisfied: s3transfer<0.2.0,>=0.1.9 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: rsa<= 3.5.0,>=3.1.2 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: PyYAML<=3.12,>=3.10 in c:\users\ marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: docutils>=0.10 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: botocore==1.4.92 in c:\users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: colorama<=0.3.7,>=0.2.5 in c: \users\marc\anaconda2\lib\site-packages (from awscli)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in c:\users\marc\anaconda2\lib\site- packages (from s3transfer<0.2.0,>=0.1.9->awscli)
Requirement already satisfied: pyasn1>=0.1.3 in c:\users \marc\anaconda2\lib\site-packages (from rsa <=3.5.0,>=3.1.2->awscli)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\marc\anaconda2\lib\site-packages ( from botocore==1.4.92->awscli)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\marc\anaconda2\lib\site-packages (from botocore== 1.4.92->awscli)
Requirement already satisfied: six>=1.5 in c:\users\marc\anaconda2\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore ==1.4.92->awscli)
However, when I want to configure everything and enter aws, I get:
$aws
C:\Users\Marc\Anaconda2\python.exe: can't open file'/cygdrive/c/Users/Marc/Anaconda2/Scripts/aws': [Errno 2] No such file or directory
I followed Ryan Chase’s answer on the right track (but due to insufficient credit on stackoverflow, I cannot comment on his answer)
After 4 steps: apt-cyg install python,
which python will return the required usr/bin/python.
However, running python -i from cygwin still opens my local anaconda python instead of cygwin python.
I finally used this workflow:
>Click to uninstall awscli
> wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
>Install apt-cyg/bin
> apt-cyg install python< br>> wget https://bootstrap.pypa.io/get-pip.py
> /bin/python~/ get-pip.py
>/bin/pip install awscli
>/bin /aws
So every time I use /bin/…force cygwin to use its local version of the program. This is very troublesome, maybe I will look into a better way to make cygwin prefer its own version of python instead Not the anaconda version.
I also need to change the installation file from windows to unix style, so:
> apt-cyg install dos2unix> dos2unix setup_p2.sh> dos2unix setup_instance.sh> Then finally, bash setup_p2.sh