forked from phoenix/litellm-mirror
update
This commit is contained in:
parent
6aec2884af
commit
654e413500
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