prio python 3.12

This commit is contained in:
Alex Cheema
2024-11-26 16:27:44 +04:00
parent 62b156b5de
commit 1ab1762e1b

View File

@@ -1,5 +1,11 @@
#!/bin/bash
python3 -m venv .venv
if command -v python3.12 &>/dev/null; then
echo "Python 3.12 is installed, proceeding with python3.12..."
python3.12 -m venv .venv
else
echo "The recommended version of Python to run exo with is Python 3.12, but $(python3 --version) is installed. Proceeding with $(python3 --version)"
python3 -m venv .venv
fi
source .venv/bin/activate
pip install -e .