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