diff --git a/bin/compile b/bin/compile
index 03855087125b2a4c2da18ab47c11ea91a1ce8f8d..4020075cfdfe3007a0868d73a9a4996369fd20ea 100755
--- a/bin/compile
+++ b/bin/compile
@@ -144,11 +144,10 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
   cd $ROOT_DIR/vendor/pip-$PIP_VERSION/
   python setup.py install # &> /dev/null
   cd $WORKING_DIR
-
-  hash -r
 fi
 
 set -e
+hash -r
 
 # Pylibmc support.
 # See [`bin/steps/pylibmc`](pylibmc.html).