This commit is contained in:
Glen
2024-12-07 19:28:54 +00:00
committed by Glen
parent 1dcc731b43
commit ccc5415cc6
+10 -1
View File
@@ -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 .