From 36d8e6bdb06edab72ccfb686266d2e644a9f028c Mon Sep 17 00:00:00 2001 From: melMass Date: Sun, 30 Jul 2023 02:55:06 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=E2=9A=A1=EF=B8=8F=20colab=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index 656304b..a2af587 100644 --- a/install.py +++ b/install.py @@ -394,7 +394,9 @@ if __name__ == "__main__": # Download the assets for the given version matching_assets = [ - asset for asset in tag_data["assets"] if current_platform in asset["name"] + asset + for asset in tag_data["assets"] + if current_platform in asset["name"] and asset["name"].endswith("zip") ] if not matching_assets: print_formatted( @@ -474,7 +476,7 @@ if __name__ == "__main__": "-m", "pip", "install", - whl_path.resolve().as_posix(), + whl_path.as_posix(), ] )