Spaces:
Runtime error
Runtime error
import subprocess | |
# Check if vllm is installed | |
try: | |
result = subprocess.run(["pip", "show", "vllm"], capture_output=True, text=True) | |
if "Name: vllm" in result.stdout: | |
print("vllm is installed!") | |
else: | |
print("vllm is not installed!") | |
except Exception as e: | |
print(f"Error checking vllm installation: {e}") |