diff --git a/install/profilarr-install.sh b/install/profilarr-install.sh index 74ea0e2..308a574 100644 --- a/install/profilarr-install.sh +++ b/install/profilarr-install.sh @@ -18,7 +18,9 @@ APPLICATION="profilarr" msg_info "Installing Dependencies" $STD apt-get install -y \ unzip \ - build-essential + build-essential \ + libyaml-dev \ + python3-dev msg_ok "Installed Dependencies" msg_info "Installing Python" @@ -58,6 +60,9 @@ $STD mv "${EXTRACTED_DIR}/backend" /opt/${APPLICATION}/ $STD mv "${EXTRACTED_DIR}/frontend" /opt/${APPLICATION}/ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt $STD uv venv /opt/${APPLICATION}/venv + +# Install a compatible version of PyYAML first +$STD uv pip install --python /opt/${APPLICATION}/venv/bin/python "PyYAML>=6.0" $STD uv pip install --python /opt/${APPLICATION}/venv/bin/python -r /opt/${APPLICATION}/backend/requirements.txt $STD uv pip install --python /opt/${APPLICATION}/venv/bin/python gunicorn msg_ok "Setup ${APPLICATION}"