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

@@ -14,7 +14,7 @@ def install_dependencies():
try:
requirements_file = os.path.join(PROJECT_DIR, 'requirements_web_v2.txt')
subprocess.check_call([
sys.executable, '-m', 'pip', 'install', '-r', requirements_file
sys.executable, '-m', 'pip', 'install', '--break-system-packages', '-r', requirements_file
])
print("Dependencies installed successfully")
@@ -23,7 +23,7 @@ def install_dependencies():
rgbmatrix_path = Path(PROJECT_DIR) / 'rpi-rgb-led-matrix-master' / 'bindings' / 'python'
if rgbmatrix_path.exists():
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)
print("rgbmatrix module installed successfully")