From 7c8693c6745de2e5c6525392e34a74a158e20eff Mon Sep 17 00:00:00 2001 From: Hirusha Adikari <36286877+hirusha-adi@users.noreply.github.com> Date: Mon, 18 Apr 2022 22:39:28 +0530 Subject: [PATCH] install dependencies better multiplatform update --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 652a6a4..96dec08 100644 --- a/app.py +++ b/app.py @@ -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: