remove venv from web v2

This commit is contained in:
Chuck
2025-08-11 11:35:43 -05:00
parent 28c81825cc
commit 19f5b7e3bc
4 changed files with 156 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ def check_dependencies():
logger.info("Installing missing packages...")
try:
subprocess.check_call([
sys.executable, '-m', 'pip', 'install', '-r', 'requirements_web_v2.txt'
sys.executable, '-m', 'pip', 'install', '--break-system-packages', '-r', 'requirements_web_v2.txt'
])
logger.info("Dependencies installed successfully")
except subprocess.CalledProcessError as e:
@@ -57,7 +57,7 @@ def check_dependencies():
try:
rgbmatrix_path = Path(__file__).parent / 'rpi-rgb-led-matrix-master' / 'bindings' / 'python'
subprocess.check_call([
sys.executable, '-m', 'pip', 'install', '-e', str(rgbmatrix_path)
sys.executable, '-m', 'pip', 'install', '--break-system-packages', '-e', str(rgbmatrix_path)
], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
logger.info("rgbmatrix module installed successfully")
except subprocess.CalledProcessError as e: