diff --git a/robotpy_build/wrapper.py b/robotpy_build/wrapper.py index 33e72552..b8f27902 100644 --- a/robotpy_build/wrapper.py +++ b/robotpy_build/wrapper.py @@ -419,7 +419,7 @@ def _clean_and_download( if dl.libs or dl.dlopenlibs: add_libdir = True extract_names = [] - os.makedirs(libdir) + os.makedirs(libdir, exist_ok=True) libext = dl.libexts.get(self.platform.libext, self.platform.libext) linkext = dl.linkexts.get(self.platform.linkext, self.platform.linkext)