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

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 ...

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)

Error writing to file when installing SQL Server 2012 64 bit

When trying to install SQL server 2012 x64 I get this error:
Error writing to file: Microsoft.AnalysisServices.SPClient.Interfaces.DLL. Verify that you have access to that directory.
I've tried installing older versions and it always comes up with the same error.
In another post someone said install .NET 4.0 but when I try to install it it says I already have it installed so the installation won't continue.
Please help.
try reinstall .net framework sometimes it's bugged. and second make sure you got fresh installed + complete. I already every time install and reinstall no problem tough.
what OS do you used btw?...

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.

WampServer: php-win.exe The program can't start because MSVCR110.dll is missing

if I try to install WampServer the above error appears. I already tried to install all the programs which were recommended, for example here:
WAMP shows error 'MSVCR100.dll' is missing when install
But nothing helps. What can I do to install WampServer?
During the download of wamp server from wampserver website you get a warning..
WARNING : Vous devez avoir installé Visual Studio 2012 : VC 11
vcredist_x64/86.exe Visual Studio 2012 VC 11 vcredist_x64/86.exe :
http://www.microsoft.com/en-us/download/details.aspx?id=30679
So if you install the vcredist_xxx.exe it will be ok
What solves my problem:
I am using 64 bit Windows 7, so I thought I could install 64 bit Wamp. After I Installed the 32-bit version the error does not appear. So something in the developing process at Wamp went wrong...
As far as I am aware, the MSVCRxxx.dlls are in %SystemRoot%\System32 (usually C:\Windows\System32).
The xxx refers to the version of the MS Visual C Runtime (hence MSVCR...)
However, the complication seems to be that the xxx version is not the same as the two digits of the year "version".
For example, Visual C Runtime 2013 yields MSVCR120.dll and "...Runtime 2012" yields MSVCR110.dll. And then Microsoft packages these as vcredist_x86.exe or vcredist_x64.exe, seemingly irrespective of the xxx version or the Visual Studio version number (2012, 2013 etc) - confused? You have every right to be!
So, firstly, you need to determine whether you need 32 bit, 64 bit or even both (some PHP distributions apparently do need both), then download the relevant vcredist... for the bits AND for the Visual Studio version. As far as I can tell, the only way to tell which vcredist... you have is to start to install it. Recent versions give an intro screen that quotes the Visual Studio version and the xxx version. I have renamed by vcredists to something like vcredist_x64_2012_V11.exe.
[EDIT] Forgot to add earlier that if you are simply looking to "install" the missing DLL (as opposed to resolve some bigger set of issues), then you probably won't do any harm by simply installing the relevant vcredist for your architecture (32 bit, 64 bit) and "missing" version.
Windows 10 x64 released August 2015 - same issue arising. MSVCR110.dll is also found in the sysWOW64 folder (which is where I found it, copying to system32 does not help). To resolve:
uninstall the x86 versions of VC 11 vcredist_x64/86.exe for 2012 and 2013
uninstall WAMP Server 2.5
delete (maybe back up first) the WAMP folder
restart windows
reinstall WAMP 2.5
Hopefully like me you have a MySQL database backup handy!

Testacular install fails, no vcbuild.exe

I'm trying to install Testacular (using nmp) on a Windows 8 Professional (64 bit) laptop, but it fails when it tries to install socket.io as part of this process. The error I get is
Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual
Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.
I apparently have .NET framework 3.5 installed (it's checked under the add/remove Windows components bit in Control Panel), although I've not managed to find a vcbuild.exe. I tried installing an old copy of VS2005 but this resulted in a different error about an invalid project (.vcproj) file.
Can anyone suggest how I might get this working? Weirdly it installed fine on my work computer, which is very similar to the one on which it won't install (they're both 64 bit Win 8 Pro).
I ran into the same issue. I fixed this by adding this to environmental variable PATH: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages so that it can find vc build.
In Visual Studio 2010, the command line tool vcbuild.exe is replaced by msbuild.exe. So, please make sure you have right Visual studio.