fixed incorrect version of psutil and enabled system site utils

This commit is contained in:
vaughn committed 2026-03-10 16:37:01 -04:00
1 parent da2d80592c
commit bc0324f474
2 files changed
+42

No files matched your search

+26
View File
@@ -129,3 +129,29 @@ index 4b5b633..f8bfba7 100755
echo "Dependencies installed..."
echo "Virtual environment created at $VENV_DIR"
diff --git a/scripts/manage_plugin_venvs.sh b/scripts/manage_plugin_venvs.sh
index 2069e14..6c8ea9e 100755
--- a/scripts/manage_plugin_venvs.sh
+++ b/scripts/manage_plugin_venvs.sh
@@ -97,7 +97,7 @@ create_plugin_venv() {
log_info "MSYS2 detected: using --system-site-packages for pre-built package access"
python3 -m venv --system-site-packages "$venv_path"
else
- python3 -m venv "$venv_path"
+ python3 -m venv --system-site-packages "$venv_path"
fi
# Upgrade pip
diff --git a/start_openplc.sh b/start_openplc.sh
index af80f51..2ee5449 100755
--- a/start_openplc.sh
+++ b/start_openplc.sh
@@ -86,7 +86,7 @@ setup_runtime_venv() {
log_info "Runtime virtual environment already exists."
else
log_info "Creating runtime virtual environment..."
- python3 -m venv "$VENV_DIR"
+ python3 -m venv --system-site-packages "$VENV_DIR"
if [ $? -ne 0 ]; then
log_error "Failed to create runtime virtual environment."
exit 1