File size: 1,095 Bytes
927854c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
@echo off
REM Setup script for Anaconda environment (Windows)
REM This script creates and activates a conda environment for the Research AI Assistant
echo ============================================================
echo Setting up Anaconda environment for Research AI Assistant
echo ============================================================
REM Check if conda is available
where conda >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo ERROR: conda command not found
echo Please install Anaconda or Miniconda first
echo Download from: https://www.anaconda.com/products/distribution
exit /b 1
)
echo Conda found
REM Create environment from environment.yml
echo.
echo Creating conda environment from environment.yml...
conda env create -f environment.yml
if %ERRORLEVEL% EQU 0 (
echo Environment created successfully
echo.
echo To activate the environment, run:
echo conda activate research-ai-assistant
echo.
echo Then install remaining dependencies:
echo pip install -r requirements.txt
) else (
echo Environment creation failed
exit /b 1
)
|