diff --git a/pupy/pupylib/PupyModule.py b/pupy/pupylib/PupyModule.py index 1e37846a..30070826 100644 --- a/pupy/pupylib/PupyModule.py +++ b/pupy/pupylib/PupyModule.py @@ -308,7 +308,8 @@ class PupyModule(object): else: dependencies = self.dependencies - self.client.load_package(dependencies, new_deps=self.new_deps) + if self.client: + self.client.load_package(dependencies, new_deps=self.new_deps) def clean_dependencies(self): for d in self.new_deps: