[object Object]

← back to Exo

try

ccc5415cc6c0a1fdb4583dfda3abb6b7d71c71c5 · 2024-12-06 21:03:15 +0000 · Glen

Files touched

Diff

commit ccc5415cc6c0a1fdb4583dfda3abb6b7d71c71c5
Author: Glen <glen@192.168.1.214>
Date:   Fri Dec 6 21:03:15 2024 +0000

    try
---
 .github/workflows/build_and_test.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 02c1479a..68348afc 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -25,7 +25,16 @@ jobs:
 
       - name: Install dependencies
         run: |
-          echo "python${PYTHON_VERSION} -m venv env" | bash
+          # First, find where python3.12 is installed
+          which python3.12 || echo "python3.12 not in PATH"
+          # Add common Python installation locations to PATH
+          export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
+          # Now try to create the venv with explicit python3.12
+          python3.12 -m venv env || {
+            echo "Failed to find python3.12. Checking installation locations:"
+            ls -l /usr/local/bin/python* /opt/homebrew/bin/python* 2>/dev/null || true
+            exit 1
+          }
           source env/bin/activate
           pip install --upgrade pip
           pip install .

← 1dcc731b fix  ·  back to Exo  ·  fixed 64954aac →