There was an error while loading. Please reload this page.
1 parent ac80c55 commit da6f4e0Copy full SHA for da6f4e0
1 file changed
depends/check-python.sh
@@ -5,7 +5,7 @@
5
( python --version || python -V ) 1>/dev/null 2>&1 || { echo "ERROR: Install python before continuing."; exit 1; }
6
7
## Check for python-config
8
-pyprefix=$(python-config --prefix)
+pyprefix=$(python-config --prefix || python3-config --prefix)
9
[ $? -eq 0 ] || { echo "ERROR: Install python-dev before continuing."; exit 1; }
10
11
## Check for python header files
0 commit comments