Installation [Windows]

Assuming you are on Windows 10, have you tried running everything using the new bash utility?

It has both current versions of 2.7.x and 3.4.x ready to go and you can forego having to install and use cygwin. There are a few quirks I don’t care for (e.g., copy&paste isn’t intuitive) but overall it feel linux-ish enough for me.

2 Likes

What is the keyboard shortcut for copy+paste in the win bash environment? BTW win bash is so awesome I ditched cygwin for good!

Sorry there is none! https://github.com/Microsoft/BashOnWindows/issues/235

@vshets:

This is going to sound weird … but what you do is highlight what you want to copy and rt-click. To paste, rt-click wherever you want to paste the text in bash.

I don’t like it but that is what we got in Windows right now.

1 Like

Hi @wgpubs, I tried that, but I’m using my work laptop and for some reason IT has disabled this feature, so this isn’t an option too.

Ok, I found the solution for this, I uninstalled Anaconda, followed the steps mentioned in the wiki http://wiki.fast.ai/index.php/Awscli_in_cygwin, and then reinstalled Conda, now i have the AWS tools in Cygwin and Anaconda also working properly

3 Likes

As others have reported, the video explains the installation in the reverse order from what works on Windows. If you install anaconda before installing cygwin, then awscli will install to the wrong python distribution. I was able to fix this by installing in the opposite order.

So now I have aws “working”, but the bash install script for p2 doesn’t work, generating a lot of errors that look like what was reported by Cristina here (even though she running the t2 install script, whereas I’m running the p2):

In the forum, someone said it was likely a problem with aws credentials, but I have confirmed that the credentials are correct. So I’m totally stuck on this front.

On another front, I tried to just get things installed to run the materials locally on my computer. It wasn’t too hard to get anaconda, theranos, and keras installed, but I’m struggling to get CUDA support up and running (I do have an Nvidia graphics card with cudas and have successfully used cuda support for 3d rendering).

When I run Nvidia’s CUDA installer (I’ve tried both 7.5 and 5.5) it tells me I need to install Visual Studio and provides a link to do that. I go to that link and download and install Visual Studio, then re-run the CUDA installer and it still tells me I need to install Visual Studio.

I think the problem is that the CUDA installer requires a specific, older version of Visual Studio, whereas the link takes you to a Microsoft portal that only lets you install the latest version. How do I get an older version of Visual Studio that will actually work with the CUDA installer?

I’m running 64-bit Windows 7.

So, currently I’m stuck on both fronts - installing for working with AWS and installing to work locally. Would appreciate help.

The link I provided seems to link to one post below Cristina’s post, so scroll up to see the errors I’m talking about.

I’m so used to this kindof crap it doesn’t even phase me :smiley:

@puzzler, I am using Windows 10 and all works fine.
I installed Anaconda 2, Keras and CUDA 8.0, Python 2.7 in Windows 10 and could run notebook with no problems, even using gpu. Then, to access AWS remotely, I am using Bash for Windows. where I installed aws that did allow me to install the necessary instances.
Regards.

1 Like

I am not on Windows 10, so need a working solution using cygwin as shown in the video.

The easiest way to fix the cygwin issue is to install python into cygwin (by re-running cygwin’s setup, and selecting python), then pip installing awscli again in cygwin.

Is it possible to get a bit more explicit instruction on the “re-installing” point ? I get a consistent ‘file not found’ error message when entering ‘aws’ at the Cygwin $ prompt. I have uninstalled Anaconda and Cygwin and then reinstalled Cygwin (first) and then Anaconda (anaconda 3, Python 3.6 in a Windows 8 (64) environment). This does not resolve the problem. Does “re-running Cygwin’s setup” mean uninstalling and then reinstalling Cygwin (which implies having to do the same with Anaconda) or is there a more straightforward, easier and efficient way to do this ? Also, how specifically to “select” Python (two options for this in the Cygwin setup, from what I can see).

Hey guys, just want to throw this out there. For people who, like me, are installing everything from scratch, in my case, in my personal computer, the cudnn v6.0 version won’t work with theano, and you should downgrade to v5.0. The error was thrown when compiling, because of a change in the cudnn api:

mod.cu(77): error: identifier cudnnSetFilterNdDescriptor_v4 is undefined

Just feel like this could help someone who is out there looking for help!

Actually I’d revise my earlier advice and instead say: use Ubuntu Bash for Windows. It’s more separate from the main windows binaries, so you don’t get these same problems.

2 Likes

It is good for Windows 10 users, unfortunately not supported for Windows 7.
I had to add python/make to cygwin, reinstall pip for cygwin as suggested above and remove anaconda from PATH.
only after verifing ‘which python’ and ‘which pip’ retrieve /usr/bin/python and /usr/bin/pip, I reran pip awscli and got aws in place

As suggested by Jeremy, bash for windows works perfectly fine! I only hope the other steps also work the same way. :slight_smile:

After multiple attempts, it looks like Cygwin does not install a PIP command, but PIP2 and PIP3.

As a result, I solved by typing pip2 install awscli.
That put aws in place correctly for me and I am now able to use the aws command.

Hi @erlapi
I guess pip is an alias when you have only one Python version installed. But, when you have more than one Python version installed, eg. Python 2.x and Python 3.x, and you want to differentiate which Python version you want to use, then you name the command pip2 and pip3. AFAIK, the first part of this course, make use of Python 2. So, installing pip2 will match the requirements.
Regards.

Yes @carlosdeep, Cygwin installs both, so the correct syntax is to call the version you need as you said.
My point is that , it doesn’t look like it installs a PIP command, but only PIP2 or PIP3.
Then the user should pick the one compatible to her/his python version as you said.