From 468106c7e28646c0166dcf98b7e8199157704af1 Mon Sep 17 00:00:00 2001 From: Abhi <85984486+AbhiTheModder@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:03:23 +0530 Subject: [PATCH] some OS like Termux gives installing/updating pip forbidden error --- modules/updater.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/updater.py b/modules/updater.py index 0ef9c77e..93ea3165 100644 --- a/modules/updater.py +++ b/modules/updater.py @@ -66,9 +66,9 @@ async def update(_, message: Message): await message.edit("Updating...") try: - subprocess.run( - [sys.executable, "-m", "pip", "install", "-U", "pip"], check=True - ) + # subprocess.run( + # [sys.executable, "-m", "pip", "install", "-U", "pip"], check=True + # ) subprocess.run(["git", "pull"], check=True) subprocess.run( [