Skip to content

Commit

Permalink
install dependencies better multiplatform update
Browse files Browse the repository at this point in the history
  • Loading branch information
hirusha-adi committed Apr 18, 2022
1 parent 3fe6437 commit 7c8693c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@


def pip_install(name: str):
os.system(f'{"pip" if os.name == "nt" else "pip3"} install -U {name}')
os.system(
f'{"py" if os.name == "nt" else "python3"} -m pip install -U {name}')


try:
Expand Down

0 comments on commit 7c8693c

Please sign in to comment.