CUDA 8.0 installation fails because of Visual Studio - tensorflow

I have NVIDIA GEFORCE GTX 950M. So it's respective CUDA distribution is 8.0. So I ve been trying to install CUDA 8.0 GPU Computing toolkit, the status going unknown and the installer couldn't find the respective VS for CUDA 8.0.
After closing the installation window shown above, the CUDA 8.0 files installed vanished.
I tried manually to find the Visual Studio 2015, I couldn't find either.
Any help on installation is appreciable.

Visual Studio is a programming IDE. CUDA comes with some built in add-ons for VS that only install if you already have VS installed. As noted in the message "The following information [...] does not describe CUDA toolkit install status."
Unless you have VS and are trying to install the add-ons, your install was successful and you should mark this resolved.

Related

Microsoft Visual C++ 14.0 is required.

when i install scrapy package,The following error occurred:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
but the website is not found,so how to solve the problem?
The package is asking for the VS2015 build tools, which are now available as part of the VS2017 build tools. Download them here, or more specifically, here.
You need to install the latest version of the Visual Studio. By version 14.0, only Visual Studio 2015 is required, but to provide support for further releases and some other programs and libraries that you might use, it is recommended to install the latest (Visual Studio 2017) which also comes with the 2015.
That link does not work, but you can find the new here: Visual Studio Build tools
Make sure to tick "Languages->C++". It should be automatic, but just to make sure.
Also, you probably would want to upgrade your setup tools for Python, setuptools.
You can do this with:
pip install --upgrade setuptools
The reason you would want to do that is, based on experience, because that error can continue to persist with Python even after you install the Visual Studio and the setup tools are not up to date.
I ran into issues getting this to work on Python 2 and 3 even after re-downloading Microsoft Visual tools, upgrading setuptools, and trying to install scrapy again.
Workaround solution that worked for me:
I already had an installation of Anaconda and was able to install Scrapy using Anaconda.
Try this approach:
Visit https://pypi.org/project/Scrapy/#files
Download the latest 'Wheel' file-type
pip install "downloaded.whl" (i.e., pip install Scrapy-1.8.0-py2.py3-none-any.whl)

Is it possible to install TensorFlow using Anaconda 2.1 on Windows XP(32 bit)?

I understand that initially TensorFlow did not work on Windows.
I have a Windows XP system with 2GB RAM and Anaconda 2.1 installed on it. Is there anyway to make TensorFlow work on this?
Currently there is no official pre-built TensorFlow distribution that works on 32-bit Windows, and it is unlikely that we will ever support such an old operating system, because the versions of software that TensorFlow depends on (such as Python 3.5) do not support Windows XP.
The existing TensorFlow packages for Windows require a 64-bit installation of Python 3.5 (which may be Anaconda, or the Python.org distribution), and Python 3.5 requires Windows Vista or newer. Python on Windows restricts what compilers may be used to build extensions for each version of Python, and only Python 3.5 supports a new enough compiler (Visual C++ 14.0, from Visual Studio 2015) to build TensorFlow.

Installation fails for CNTK v.2.0 Beta 8 Release when VS2015 is already installed

I have VS2015 already installed on my machine, and when I try to install CNTK v.2.0 Beta 8 Release (Script-driven installation) it spawns VS installation window which immediately gets closed and I get next output:
The following operations will be performed:
* Install VS2015 Runtime
* Setup CNTK PythonEnvironment 34
* Setup/Update CNTK Wheel 34
* Create CNTKPY batch file
Do you want to continue? (y/n)
y
Performing download operations
Download operations finished
Performing install operations
Installing VS2015 Runtime....
Fatal error during script execution!
System.Management.Automation.RuntimeException: Running 'start-process /install /passive /norestart' failed with exit code [1638]
It is weird that installation is trying to perform "Install VS2015 Runtime" step even though I have VS2015 installed. I also have VS2017 RC installed, I guess maybe that's a problem. By quick Google search I found that exit code 1638 means:
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
Issue is solved by uninstalling Microsoft Visual C++ 2017 RC Redistributable (solely uninstalling VS2017 RC doesn't help!). It seems that when VS2017 RC is installed it replaces C++ 2015 redistributable with C++ 2017 RC redistributable since they are both version 14, and then when CNTK installation is run it cannot find C++ 2015 redistributable and tries to install it but installation fails because redistributable of same version (14, but latter version date) is already installed.
I believe that CNTK installation should be smarter when it checks if C++ 2015 redistributable exists, i.e. it should check for redistributable version (14 in this case) not the name of redistributable.
This has been fixed in the codebase now, and will be in the next release (should happen in the next few days)
we were checking the installed programs for a installed VS15 runtime. the VS17 runtime is compatible, but naturally it is also announced as a VS17 runtime, so our check failed.
We check now for a VS15 or VS17 runtime.
#MarkoR: Thanks for finding and doing the legwork in investigating!
Wolfgang
Let us know how that goes. We did not see this problem when folks had VS2015 and CTNK was supported on VS2013 only.
Thank you for trying this out...
I will investigate and hopefully I can make a fix available soon ...

Installing the newest version of Wamp server

I'm learning PHP and I'm a newbie in apache, mysql,etc.
I tried to install WAMPServer (The current newest version 2.5) but I get the error:
msvcr110.dll is missing.
I have followed some instructions given here: WAMP shows error 'MSVCR100.dll' is missing when install
However, none of the advice worked for me. I have already installed Visual C++ for windows 32 bits and Visual C++ Redistributable for Visual Studio 2012. After that I installed Visual C++ 2008, it didn't worked either.
And even after that I installed vcredist_x86.exe. This gave me an option to repair my Visual C++, and so I did.
In all my tries I restarted my computer.
I didn't install Visual c++ for windows 64 bits because my os is running a 32 version.
Any ideas?
Thanks for your attention,
berga007
Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries. You dont need the whole compiler, just these C/C++ runtime libraries.
The 2008 Redist (32bit) is used by wampmanager even if you installed the 64bit WAMPServer.
The 2010 Redist is used by some versions of Apache ( depending on compiler used ).
The 2012 Redist is used by some versions of Apache ( depending on compiler used ).
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
If you are using WampServer 2.4/2.5 32bit and therefore Apache 2.4.x
Microsoft Visual C++ 2012 is required And select vcredist_x86.exe
Due to the naming convention used by Microsoft dowmloading these libraries can get a little confusing so download them one at a time and install that download before downloading the next and installing that.
To check that you have all the required runtimes, launch 'Programs and Features' by
Start -> Control Panel -> Programs and Feature
For a 32bit system it should look something like this, ignore the fact that mine has what look like multiple versions of the same library, its just because when you download a newer version it does not remove the older revisions :-
32bit System example
UPDATE FOR 2018 (WAMPSERVER 3.x)
You need the following Visual Studio Redistributables:
2008
2010
2012
2013
2017
Get both the x86 and x64 versions if you're on a x64 machine.
Also, make sure you set skype to NOT use port 80, otherwise WAMP won't start when Skype is open.

How to install VS2012 for windows phone in my x86 OS? How to convert Windows 8 pro from x86 to x64?

I downloaded a x86 windows pro version and installed in my system. The mistake which i did is my system supports x64 but by mistake took a msdn x86 version of Windows 8 pro.
Because of installing x86 os i am not able to install visual studio 2012 for windows phone. It throws an error stating that ur system is x86.
It would be of great help if u can give solutions for this.
You will have to uninstall the x86 Windows 8, and install the x64 version to fix that sort of error.