You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FOR /F "usebackq tokens=2*" %%A IN (`reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ArcGIS Server 10.7" /v "InstallLocation"`) DO (
SET ARCGISSERVER_INSTALL_DIR=%%B
)
SET SCRIPTS_DIR=%ARCGISSERVER_INSTALL_DIR%framework\runtime\ArcGIS\bin\Python\Scripts\
SET ENV_DIR=%ARCGISSERVER_INSTALL_DIR%framework\runtime\ArcGIS\bin\Python\envs\
SET ENV_NAME=TensorFlowEnvTest
cd "%SCRIPTS_DIR%"
CALL "%SCRIPTS_DIR%deactivate.bat"
SET TF_PACKAGE=tensorflow-gpu
ECHO INFO: Clone a new ArcGIS python environment %ENV_NAME% ...