Skip to content

Commit

Permalink
fix #157
Browse files Browse the repository at this point in the history
  • Loading branch information
contentis authored Mar 13, 2024
1 parent 7ba0324 commit 7a64e6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import launch
import sys
from importlib_metadata import version

python = sys.executable


def install():
if not launch.is_installed("importlib_metadata"):
launch.run_pip("install importlib_metadata", "importlib_metadata", live=True)
from importlib_metadata import version

if launch.is_installed("tensorrt"):
if not version("tensorrt") == "9.0.1.post11.dev4":
launch.run(
Expand Down

0 comments on commit 7a64e6f

Please sign in to comment.