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