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