← back to Exo
prio python 3.12
1ab1762e1b830b054b741306d9da4dc1068179ac · 2024-11-26 16:27:44 +0400 · Alex Cheema
Files touched
Diff
commit 1ab1762e1b830b054b741306d9da4dc1068179ac
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Tue Nov 26 16:27:44 2024 +0400
prio python 3.12
---
install.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
index ce83eed8..f136c317 100755
--- a/install.sh
+++ b/install.sh
@@ -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 .
← 6659a18e add missing top_p_sampling import
·
back to Exo
·
update readme to reflect that mlx and tinygrad are interoper be82ac7d →