--- a/scripts/install.py Wed Nov 06 19:19:29 2024 +0100 +++ b/scripts/install.py Sat Nov 09 13:28:47 2024 +0100 @@ -760,7 +760,11 @@ # make the install directories for key in cfg: if cfg[key] and not os.path.isdir(cfg[key]): - os.makedirs(cfg[key]) + try: + os.makedirs(cfg[key]) + except OSError: + if key != "apidir": + raise # copy the eric config file if distDir: