mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-07 05:08:43 +00:00
upgraded package manager
This commit is contained in:
parent
55862e3882
commit
9eae059a43
@ -975,10 +975,10 @@ class PackageManager:
|
|||||||
raise ImportError(f"Version {installed_version} is less than the required {min_version}.")
|
raise ImportError(f"Version {installed_version} is less than the required {min_version}.")
|
||||||
return True
|
return True
|
||||||
except ImportError as ex:
|
except ImportError as ex:
|
||||||
print(f"Package '{package_name}' is not installed or version requirement not met. Error: {ex}")
|
ASCIIColors.error(f"\nPackage '{package_name}' is not installed or version requirement not met. Error: {ex}")
|
||||||
return False
|
return False
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print(f"Error checking package: {ex}")
|
ASCIIColors.error(f"\nError checking package: {ex}")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user