Import the MacOS toolbox modules from the Carbon package.
diff --git a/Mac/scripts/ConfigurePython.py b/Mac/scripts/ConfigurePython.py
index c1bfb2b..423b164 100644
--- a/Mac/scripts/ConfigurePython.py
+++ b/Mac/scripts/ConfigurePython.py
@@ -13,7 +13,7 @@
 import MacOS
 import gestalt
 import string
-import Res
+from Carbon import Res
 
 SPLASH_COPYCORE=512
 SPLASH_COPYCARBON=513
@@ -89,7 +89,7 @@
 	do_copy = 0
 	if macfs.FSSpec(sys.exec_prefix).as_tuple()[0] != -1: # XXXX
 		try:
-			import Dlg
+			from Carbon import Dlg
 			rv = Dlg.CautionAlert(ALERT_NONBOOT, None)
 			if rv == ALERT_NONBOOT_COPY:
 				do_copy = 1
@@ -141,7 +141,7 @@
 	elif oldcwd != newcwd:
 		# Hack to make sure we get the new MACFS
 		sys.path.insert(0, os.path.join(oldcwd, ':Mac:Lib'))
-		import Dlg
+		from Carbon import Dlg
 		rv = Dlg.CautionAlert(ALERT_NOTPYTHONFOLDER, None)
 		if rv == ALERT_NOTPYTHONFOLDER_REMOVE_QUIT:
 			import pythonprefs, preferences
@@ -162,7 +162,7 @@
 	n = n + mkcorealias('PythonCore', 'PythonCore')
 	n = n + mkcorealias('PythonCoreCarbon', 'PythonCoreCarbon')
 	if n == 0:
-		import Dlg
+		from Carbon import Dlg
 		Dlg.CautionAlert(ALERT_NOCORE, None)
 		if verbose:
 			print "Warning: PythonCore not copied to Extensions folder"