mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 00:59:07 -05:00
fix(setup): update Python requirement and dependencies path
- Update Python requirement from 3.8+ to 3.9+ to match current project needs - Fix requirements.txt path from 'requirements.txt' to 'tools/dependencies/requirements.txt' This ensures the setup script works with the current project structure and requirements.
This commit is contained in:
@@ -9,7 +9,7 @@ echo "🚀 Setting up MLSysBook development environment..."
|
||||
|
||||
# Check if Python is installed
|
||||
if ! command -v python3 &> /dev/null; then
|
||||
echo "❌ Python 3 is required but not installed. Please install Python 3.8+ first."
|
||||
echo "❌ Python 3 is required but not installed. Please install Python 3.9+ first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -33,7 +33,7 @@ pip install --upgrade pip
|
||||
|
||||
# Install dependencies
|
||||
echo "📚 Installing dependencies..."
|
||||
pip install -r requirements.txt
|
||||
pip install -r tools/dependencies/requirements.txt
|
||||
|
||||
# Install pre-commit hooks
|
||||
echo "🔗 Installing pre-commit hooks..."
|
||||
|
||||
Reference in New Issue
Block a user