-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_dependencies.sh
More file actions
28 lines (20 loc) · 900 Bytes
/
Copy pathinstall_dependencies.sh
File metadata and controls
28 lines (20 loc) · 900 Bytes
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
#!/bin/bash
echo "🔧 Installing all required Python dependencies..."
# Navigate to backend directory
cd backend
# Upgrade pip first
echo "📦 Upgrading pip..."
python -m pip install --upgrade pip
# Install all requirements
echo "📦 Installing requirements from requirements.txt..."
pip install -r requirements.txt
# Verify critical packages
echo "✅ Verifying installations..."
python -c "import fastapi; print(f'FastAPI: {fastapi.__version__}')"
python -c "import aiohttp; print(f'aiohttp: installed')"
python -c "import exa; print(f'exa-py: installed')" 2>/dev/null || echo "⚠️ exa-py: not installed (optional)"
python -c "import transformers; print(f'transformers: {transformers.__version__}')"
python -c "import socketio; print(f'socketio: installed')"
echo ""
echo "✅ Installation complete!"
echo "📝 Don't forget to run 'python ../setup_env.py' to set up your .env file"