Skip to content

Commit

Permalink
some OS like Termux gives installing/updating pip forbidden error
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiTheModder authored Jun 17, 2024
1 parent df4f9a3 commit 468106c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ async def update(_, message: Message):

await message.edit("<b>Updating...</b>")
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(
[
Expand Down

0 comments on commit 468106c

Please sign in to comment.