diff --git a/dev/run-pip-tests b/dev/run-pip-tests index 28e6d1ca23257..88da95f3b7567 100755 --- a/dev/run-pip-tests +++ b/dev/run-pip-tests @@ -66,7 +66,7 @@ fi set -x # Determine which version of PySpark we are building for archive name -PYSPARK_VERSION=$(python3 -c "exec(open('python/pyspark/version.py').read());print __version__") +PYSPARK_VERSION=$(python3 -c "exec(open('python/pyspark/version.py').read());print(__version__)") PYSPARK_DIST="$FWDIR/python/dist/pyspark-$PYSPARK_VERSION.tar.gz" # The pip install options we use for all the pip commands PIP_OPTIONS="--upgrade --no-cache-dir --force-reinstall "