I am a newbie to the anaconda
environment. A couple of days back I installed keras
and tensorflow
through anaconda
prompt. tensorflow
installed successfully but keras
didn't. After, whenever I open the terminal the following error is showing. Please help me out.
my installation commands are:
conda create -n tf tensorflow
conda install -c conda-forge keras
C:\Users\venkatesh>SET DISTUTILS_USE_SDK=1
C:\Users\venkatesh>SET MSSdk=1
C:\Users\venkatesh>SET "VS_VERSION=15.0"
C:\Users\venkatesh>SET "VS_MAJOR=15"
C:\Users\venkatesh>SET "VS_YEAR=2017"
C:\Users\venkatesh>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out"
C:\Users\venkatesh>set "MSYS2_ENV_CONV_EXCL=CL"
C:\Users\venkatesh>set "PY_VCRUNTIME_REDIST=\bin\vcruntime140.dll"
C:\Users\venkatesh>set "CXX=cl.exe"
C:\Users\venkatesh>set "CC=cl.exe"
C:\Users\venkatesh>set "VSINSTALLDIR="
C:\Users\venkatesh>for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -version [15.0,16.0) -property installationPath`) do (set "VSINSTALLDIR=%i\" )
C:\Users\venkatesh>if not exist "" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.Component.VC.v141.x86.x64 -property installationPath`) do (set "VSINSTALLDIR=%i\" ) )
C:\Users\venkatesh>if not exist "" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\" )
C:\Users\venkatesh>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" )
C:\Users\venkatesh>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\" )
C:\Users\venkatesh>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\" )
C:\Users\venkatesh>IF NOT "" == "" (
set "INCLUDE=;"
set "LIB=;"
set "CMAKE_PREFIX_PATH=;"
)
C:\Users\venkatesh>call :GetWin10SdkDir
C:\Users\venkatesh>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 exit /B 1
C:\Users\venkatesh>exit /B 0
C:\Users\venkatesh>for /F %i in ('dir /ON /B "\include\10.*"') DO (SET WindowsSDKVer=%~i )
The system cannot find the file specified.
C:\Users\venkatesh>if errorlevel 1 (echo "Didn't find any windows 10 SDK. I'm not sure if things will work, but let's try..." ) else (echo Windows SDK version found as: "" )
Windows SDK version found as: ""
C:\Users\venkatesh>IF "win-64" == "win-64" (
set "CMAKE_GEN=Visual Studio 15 2017 Win64"
set "BITS=64"
) else (
set "CMAKE_GEN=Visual Studio 15 2017"
set "BITS=32"
)
C:\Users\venkatesh>pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
The system cannot find the path specified.
C:\Users\venkatesh>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.16
The system cannot find the path specified.
C:\Users\venkatesh>popd
C:\Users\venkatesh>IF "" == "" SET "CMAKE_GENERATOR=Visual Studio 15 2017 Win64"
C:\Users\venkatesh>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE 1>nul 2>&1
C:\Users\venkatesh>if errorlevel 1 exit /B 1
C:\Users\venkatesh>exit /B 0