install.sh 390 B

1234567891011
  1. #!/usr/bin/env bash
  2. if command -v python3.12 &>/dev/null; then
  3. echo "Python 3.12 is installed, proceeding with python3.12..."
  4. python3.12 -m venv .venv
  5. else
  6. echo "The recommended version of Python to run exo with is Python 3.12, but $(python3 --version) is installed. Proceeding with $(python3 --version)"
  7. python3 -m venv .venv
  8. fi
  9. source .venv/bin/activate
  10. pip install -e .