feb75d
diff --git a/virtualenv.py b/virtualenv.py
feb75d
index c4e3bd5..89b8863 100755
feb75d
--- a/virtualenv.py
feb75d
+++ b/virtualenv.py
feb75d
@@ -1181,8 +1181,9 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
feb75d
             exec_dir = join(sys.exec_prefix, 'Lib')
feb75d
         else:
feb75d
             exec_dir = join(sys.exec_prefix, 'lib', py_version)
feb75d
-        for fn in os.listdir(exec_dir):
feb75d
-            copyfile(join(exec_dir, fn), join(lib_dir, fn), symlink)
feb75d
+        if os.path.isdir(exec_dir):
feb75d
+            for fn in os.listdir(exec_dir):
feb75d
+                copyfile(join(exec_dir, fn), join(lib_dir, fn), symlink)
feb75d
feb75d
     if is_jython:
feb75d
         # Jython has either jython-dev.jar and javalib/ dir, or just