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