Home > other >  The following error has occurred on activated tensorflow environment, but the environment can still
The following error has occurred on activated tensorflow environment, but the environment can still

Time:11-29

(base) C: \ Users \ ZouDeXiang> Activate TFG

C: \ Users \ ZouDeXiang> Python C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ etc \ keras \ load_config py 1 & gt; Temp. TXT

C: \ Users \ ZouDeXiang> The set/p=0 KERAS_BACKEND & lt; Temp. TXT

C: \ Users \ ZouDeXiang> Del temp. TXT

C: \ Users \ ZouDeXiang> Python - c "import keras" 1 & gt; Nul 2 & gt; & 1

C: \ Users \ ZouDeXiang> If errorlevel 1 (
Ver 1 & gt; Nul
Set "KERAS_BACKEND=theano"
Python - c "import keras" 1 & gt; Nul 2 & gt; & 1
)

C: \ Users \ ZouDeXiang> The SET DISTUTILS_USE_SDK=1

C: \ Users \ ZouDeXiang> The SET MSSdk=1

C: \ Users \ ZouDeXiang> The SET of platform=

C: \ Users \ ZouDeXiang> IF/I==[AMD64] [AMD64] set "platform=true"

C: \ Users \ ZouDeXiang> IF/I []==[amd64] set "platform=true"

C: \ Users \ ZouDeXiang> If defined platform (set "VSREGKEY=HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ VisualStudio \ 14.0") ELSE (set "VSREGKEY=HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ VisualStudio \ 14.0")

C: \ Users \ ZouDeXiang> For/F "skip=2 tokens=2, *" % B in (' reg query "HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ VisualStudio \ 14.0" InstallDir/v ') do SET VSINSTALLDIR="% B"

C: \ Users \ ZouDeXiang> SET VSINSTALLDIR="D: \ Professional \ VisualStudio \ Common7 \ IDE "

C: \ Users \ ZouDeXiang> If "D: \ Professional \ VisualStudio \ Common7 \ IDE "=="" (set" VSINSTALLDIR=D: \ Professional \ VisualStudio \ Common7 \ Tools \ ")

C: \ Users \ ZouDeXiang> If "D: \ Professional \ VisualStudio \ Common7 \ IDE "=="" (
ECHO "WARNING: Did not find VS in the registry or in VS140COMNTOOLS env var - your compiler may not work"
GOTO the End
)

C: \ Users \ ZouDeXiang> Echo "Found VS2014 at D: \ Professional \ VisualStudio \ Common7 \ IDE "
"Found VS2014 at D: \ Professional \ VisualStudio \ Common7 \ IDE "

C: \ Users \ ZouDeXiang> SET "VS_VERSION=14.0"

C: \ Users \ ZouDeXiang> SET "VS_MAJOR=14"

C: \ Users \ ZouDeXiang> SET "VS_YEAR=2015
"
C: \ Users \ ZouDeXiang> Set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out
"
C: \ Users \ ZouDeXiang> Set "MSYS2_ENV_CONV_EXCL=CL"

C: \ Users \ ZouDeXiang> Set "PY_VCRUNTIME_REDIST=\ vcruntime140 DLL"

C: \ Users \ ZouDeXiang> Set "CFLAGS=- MD - GL"

C: \ Users \ ZouDeXiang> Set "CXXFLAGS=- MD - GL"

C: \ Users \ ZouDeXiang> Set "LDFLAGS_SHARED=- LTCG ucrt. Lib"

C: \ Users \ ZouDeXiang> Set "CXX=cl. Exe"

C: \ Users \ ZouDeXiang> Set "CC=cl. Exe"

C: \ Users \ ZouDeXiang> IF/I []==[win - 64] (set "folder=x64") else (set "folder=x86")

C: \ Users \ ZouDeXiang> For/F tokens="*" % I in (' dir "C: \ Program Files \ Windows (x86) Kits \ * 1 *"/B/O: N ') do for % A % (~ I) in the do if "% B"=="8.1" set win A=%

C: \ Users \ ZouDeXiang> For A % (10) in the do if "% b"=="8.1" set win A=%

C: \ Users \ ZouDeXiang> If "10"=="8.1" set win=10

C: \ Users \ ZouDeXiang> For A in (8.1) % do if "% b"=="8.1" set win A=%

C: \ Users \ ZouDeXiang> If "8.1"=="8.1" set win=8.1

C: \ Users \ ZouDeXiang> For/F tokens="*" % I in (' dir "C: \ Program Files \ Windows (x86) Kits \ * 1 *"/B/O: N ') do for % A % (~ I) in the do if "% B"=="10" set win=% A

C: \ Users \ ZouDeXiang> For A % (10) in the do if "% b"=="10" set win=% A

C: \ Users \ ZouDeXiang> If "10"=="10" set win=10

C: \ Users \ ZouDeXiang> For A in (8.1) % do if "% b"=="10" set win=% A

C: \ Users \ ZouDeXiang> If "8.1"=="10" set win=8.1

C: \ Users \ ZouDeXiang> Setlocal enabledelayedexpansion

C: \ Users \ ZouDeXiang> If "10"=="10" (
For/F tokens="*" % I in (' dir "C: \ Program Files \ Windows (x86) Kits \ \ bin \ 10 * 10"/B/O: N ') do for % A % ~ (I) the do in the set last=% A
Set "sdk_bin_path=C: \ Program Files \ Windows (x86) Kits 10 \ bin \ \! The last! \ x86
") else (set "sdk_bin_path=C: \ Program Files \ Windows (x86) Kits \ 8.1 \ bin \ x86")
Can't find the file

C: \ Users \ ZouDeXiang> Endlocal & amp; Set "PATH=C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG. C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ Library \ mingw - w64 \ bin; C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ Library \ usr \ bin; C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ Library \ bin; C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ Scripts. C: \ Users \ ZouDeXiang \ Anaconda3 \ envs \ TFG \ bin. C: \ Users \ ZouDeXiang \ Anaconda3 \ condabin; C: \ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v10.1 \ bin; C: \ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v10.1 \ libnvvp; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C: \ Windows \ System32 \ WindowsPowerShell \ v1.0. C: \ Program Files \ NVIDIA Corporation (x86) \ PhysX \ Common; C: \ WINDOWS \ system32; C: \ WINDOWS; C: \ WINDOWS \ System32 \ Wbem; C: \ WINDOWS \ System32 \ WindowsPowerShell \ v1.0. C: \ WINDOWS \ System32 \ OpenSSH; D: \ Professional \ matlab2016a \ runtime \ win64. D: \ Professional \ matlab2016a \ bin. D: \ Professional \ matlab2016a \ polyspace \ bin. C: \ Program Files \ NVIDIA Corporation \ NVIDIA NvDLISR; C: \ Program Files \ Windows (x86) Kits \ 8.1 \ Windows Performance Toolkit. nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related