mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
update
This commit is contained in:
parent
ffa5899a6f
commit
a547f77fcb
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ def install_and_import(package: str):
|
|||
dist = pkg_resources.get_distribution(package)
|
||||
required = [req for req in pkg_resources.get_distribution(package).requires()]
|
||||
|
||||
# Print the version of the package
|
||||
print(f"{package} version: {dist.version}")
|
||||
# Check if there are dependencies
|
||||
if required:
|
||||
for req in required:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue