From 8bebe0908022765237944b056370cbdfd28b0d79 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Mon, 14 Oct 2024 15:10:37 +0200 Subject: [PATCH] TEMPORARY check python path from within python --- .github/workflows/pytest.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 51f56319b..52f1a90d9 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -128,8 +128,8 @@ jobs: run: echo $PATH shell: bash - - name: Debug PYTHONPATH - run: echo $PYTHONPATH + - name: Debug python path + run: python -c "import sys; print(sys.executable, sys.path)" shell: bash - name: Install R dependencies and tutorial requirements @@ -142,7 +142,7 @@ jobs: ) system2('which', 'python', TRUE, TRUE) - system2('echo', '$PYTHONPATH', TRUE, TRUE) + system2('python', '-c "import sys; print(sys.executable, sys.path)"', TRUE, TRUE) system2('which', 'pip', TRUE, TRUE) system2('pip', 'list', TRUE, TRUE)