Visual Studio 2017 path issue while installing tensorflow in Anaconda - visual-studio

The exact error that I get when I try to run the environment after attempting to install Keras/ TensorFlow via the Anaconda prompt.
I am unable to install Keras or TensorFlow using Anaconda anymore. Even activating the environment results in a couple of errors as shown above. I have tried installing the Visual studio build tools 2019 (and 2017 using the community Visual Studio setup). Please advise on what I could try next to get rid of this error.

How did you install Anaconda and which OS are you using?
It seems Anaconda has not installed properly in your system. Uninstall and remove the previous Anaconda from your system and try reinstalling the Anaconda.
You can follow this reference to install Anaconda and Tensorflow in your system.
Check this link to install Visual studio.

Related

Cant update CMake on Windows

I have tried downloading the installer from the CMake website, and installing with choco install cmake.
After refreshing my powershell with refreshenv I still get the old version of CMake. I have tried adding the path to my powershell profile.
Is it because it comes with Visual Studio?
How do I update it?

Couldn't install "packageName" and "anotherPackageName"

I am switching to Visual Studio 2022 for .Net core 3.1 but Installer can't install two packages.
I tried uninstall and reinstall too much but it cannot resolve this problem.
Errors:
Couldn't install Microsoft.VisualStudio.MinShell.Interop.Shared.Msi
Couldn't install Microsoft.AspNetCore.SharedFramework.6.0.6.0.1-servicing.21567.14.x64
How can I fix it? Can you help me?
Deep Note: I'm using Windows 10 home single language.
I fixed this problem, my message code is 1911 (you can see on logs).
If you have same problem you can follow this way:
Open Command prompt as administrator.
Type "sfc /scannow".
Reboot your computer when the process is complete.
Repair the Visual Studio installation.

Anaconda installed but Python in Visual Studio does not recognize Numpy

I installed Anacoda and then Visual studio on windows 7 as explained in :
https://docs.continuum.io/anaconda/ide_integration#python-tools-for-visual-studio-ptvs
but my visual studio does not recognize Numpy and some other modules...
What should i do?
Did you check the list of available python packages from the solutions explorer? If already inside a project, you can right-click on the Python2.7(global environment) and try 'install package' and enter 'numpy' and install from 'pip' or 'conda'. (See ImageLink at the end of this paragraph). This should install numpy. ImageLink
You have to add to this PATH in the enviroment variables:
yourAnacondaPath/Library/bin
it worked for me.

Uninstall Visual Studio Core in CentOS

I installed Visual Studio Core in CentOS (7) but the core command cannot be found. I want to uninstall and re-install from terminal this time around. What is the command in terminal to uninstall Visual Studio Core in CentOS (7)? I googled this and the answers I found are for non-CentOS Linux like Ubuntu.
I found the command. Sometimes things are simple:
sudo yum remove code

Errors trying to install aglio with node.js

I am running Node.js 0.10.36 on my windows 7 machine. I also have grunt v0.4.5 and grunt-cli v0.1.13 installed. Python is 2.7.3 and Microsoft Visual studio is 2012.
I am trying to install aglio globally. The command I run is
npm install -g aglio
The error returned is as follows
I have been searching the internet for a good resolution to this, but I'm running out of things to try. The main suggestions were to install Python (which I've done) and to set Microsoft Visual Studio to 2012 (which I've also done).

Resources