diff --git a/setup.py b/setup.py index d37bcd0ed8f..cbaf1abd821 100644 --- a/setup.py +++ b/setup.py @@ -373,6 +373,8 @@ def get_platform(self): def add_multiarch_paths(self): # Debian/Ubuntu multiarch support. # https://wiki.ubuntu.com/MultiarchSpec + if not find_executable('dpkg-architecture'): + return tmpfile = os.path.join(self.build_temp, 'multiarch') if not os.path.exists(self.build_temp): os.makedirs(self.build_temp)