ba4195
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
ba4195
index 91c48b3..0c9b0f4 100755
ba4195
--- a/setuptools/command/easy_install.py
ba4195
+++ b/setuptools/command/easy_install.py
ba4195
@@ -446,6 +446,12 @@ class easy_install(Command):
ba4195
         instdir = normalize_path(self.install_dir)
ba4195
         pth_file = os.path.join(instdir, 'easy-install.pth')
ba4195
 
ba4195
+        if not os.path.exists(instdir):
ba4195
+            try:
ba4195
+                os.makedirs(instdir)
ba4195
+            except (OSError, IOError):
ba4195
+                self.cant_write_to_target()
ba4195
+
ba4195
         # Is it a configured, PYTHONPATH, implicit, or explicit site dir?
ba4195
         is_site_dir = instdir in self.all_site_dirs
ba4195