diff --git a/bin/compile b/bin/compile
index 27bbcb675cd6a03797eec0927988da24994b654c..57234d37a7aa36d02eaca3fcf457427c7b585c6d 100755
--- a/bin/compile
+++ b/bin/compile
@@ -148,16 +148,6 @@ mkdir -p $(dirname $PROFILE_PATH)
 set +e
 PYTHON_VERSION=$(cat runtime.txt)
 
-rm -fr .heroku/python
-if [ ! $STACK = $CACHED_PYTHON_STACK ]; then
-  bpwatch start uninstall_python
-    puts-step "Stack changed, re-installing $PYTHON_VERSION."
-    rm -fr .heroku/python
-  bpwatch stop uninstall_python
-else
-  SKIP_INSTALL=1
-fi
-
 # Install Python.
 if [ -f .heroku/python-version ]; then
   if [ ! $(cat .heroku/python-version) = $PYTHON_VERSION ]; then
@@ -170,6 +160,13 @@ if [ -f .heroku/python-version ]; then
   fi
 fi
 
+if [ ! $STACK = $CACHED_PYTHON_STACK ]; then
+  bpwatch start uninstall_python
+    puts-step "Stack changed, re-installing $PYTHON_VERSION."
+    rm -fr .heroku/python
+  bpwatch stop uninstall_python
+fi
+
 
 if [ ! "$SKIP_INSTALL" ]; then
   bpwatch start install_python