pluGET/install_requirements.py

14 lines
503 B
Python
Raw Normal View History

"""
2022-06-16 19:26:43 +00:00
Install the needed python packages through this script
"""
import os
try:
2022-06-16 19:26:43 +00:00
print("Installing Python packages and dependencies from requirements.txt...\n")
os.system('py -m pip install -r requirements.txt' if os.name=='nt' else 'pip install -r requirements.txt')
print("\nStart pluGET by launching the 'pluGET.py' file!")
except:
2022-06-16 19:26:43 +00:00
print("Requirements couldn't be installed. Check if file 'requirements.txt' is in the same folder and that Python3\
and pip is installed!")