--- a/src/eric7/CondaInterface/Conda.py Sun Nov 06 11:22:39 2022 +0100 +++ b/src/eric7/CondaInterface/Conda.py Mon Nov 07 17:19:58 2022 +0100 @@ -489,6 +489,8 @@ Note: only one of name or prefix must be given. """ + from eric7.UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog + if name and prefix: raise RuntimeError("Only one of 'name' or 'prefix' must be given.") @@ -496,10 +498,6 @@ raise RuntimeError("One of 'name' or 'prefix' must be given.") if packages: - from eric7.UI.DeleteFilesConfirmationDialog import ( - DeleteFilesConfirmationDialog, - ) - dlg = DeleteFilesConfirmationDialog( self.parent(), self.tr("Uninstall Packages"),