code
1(base) PS C:\Users\my174> conda info -e 2# conda environments: 3# 4base * C:\Users\my174\anaconda3 5kaohanbetsu_for_exam C:\Users\my174\anaconda3\envs\kaohanbetsu_for_exam 6machine-learning C:\Users\my174\anaconda3\envs\machine-learning 7 8(base) PS C:\Users\my174> activate kaohanbetsu_for_exam 9 10C:\Users\my174>python C:\Users\my174\anaconda3\envs\kaohanbetsu_for_exam\etc\keras\load_config.py 1>temp.txt 11 12C:\Users\my174>set /p KERAS_BACKEND= 0<temp.txt 13 14C:\Users\my174>del temp.txt 15 16C:\Users\my174>python -c "import keras" 1>nul 2>&1 17 18C:\Users\my174>if errorlevel 1 ( 19ver 1>nul 20 set "KERAS_BACKEND=theano" 21 python -c "import keras" 1>nul 2>&1 22) 23 24C:\Users\my174>SET DISTUTILS_USE_SDK=1 25 26C:\Users\my174>SET MSSdk=1 27 28C:\Users\my174>SET "VS_VERSION=15.0" 29 30C:\Users\my174>SET "VS_MAJOR=15" 31 32C:\Users\my174>SET "VS_YEAR=2017" 33 34C:\Users\my174>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out" 35 36C:\Users\my174>set "MSYS2_ENV_CONV_EXCL=CL" 37 38C:\Users\my174>set "PY_VCRUNTIME_REDIST=\bin\vcruntime140.dll" 39 40C:\Users\my174>set "CXX=cl.exe" 41 42C:\Users\my174>set "CC=cl.exe" 43 44C:\Users\my174>set "VSINSTALLDIR=" 45 46C:\Users\my174>for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -version [15.0,16.0) -property installationPath`) do (set "VSINSTALLDIR=%i\" ) 47 48C:\Users\my174>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\" ) ) 49 50C:\Users\my174>if not exist "" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\" ) 51 52C:\Users\my174>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" ) 53 54C:\Users\my174>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\" ) 55 56C:\Users\my174>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\" ) 57 58C:\Users\my174>IF NOT "" == "" ( 59set "INCLUDE=;" 60 set "LIB=;" 61 set "CMAKE_PREFIX_PATH=;" 62) 63 64C:\Users\my174>call :GetWin10SdkDir 65 66C:\Users\my174>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node 1>nul 2>&1 67 68C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node 1>nul 2>&1 69 70C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE 1>nul 2>&1 71 72C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE 1>nul 2>&1 73 74C:\Users\my174>if errorlevel 1 exit /B 1 75 76C:\Users\my174>exit /B 0 77 78C:\Users\my174>for /F %i in ('dir /ON /B "\include\10.*"') DO (SET WindowsSDKVer=%~i ) 79指定されたファイルが見つかりません。 80 81C:\Users\my174>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: "" ) 82Windows SDK version found as: "" 83 84C:\Users\my174>IF "win-64" == "win-64" ( 85set "CMAKE_GEN=Visual Studio 15 2017 Win64" 86 set "BITS=64" 87) else ( 88set "CMAKE_GEN=Visual Studio 15 2017" 89 set "BITS=32" 90) 91 92C:\Users\my174>pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\ 93指定されたパスが見つかりません。 94 95C:\Users\my174>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.16 96指定されたパスが見つかりません。 97 98C:\Users\my174>popd 99 100C:\Users\my174>IF "" == "" SET "CMAKE_GENERATOR=Visual Studio 15 2017 Win64" 101 102C:\Users\my174>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node 1>nul 2>&1 103 104C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node 1>nul 2>&1 105 106C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE 1>nul 2>&1 107 108C:\Users\my174>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE 1>nul 2>&1 109 110C:\Users\my174>if errorlevel 1 exit /B 1 111 112C:\Users\my174>exit /B 0
環境 os windows anaconda powershell prompt (anaconda3)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。