Skip to content

Bookworm ready python install in venv #1867

@thicknesss

Description

@thicknesss

Hi all,
because bookworm enforeces virtual enviroments for python we need to make some changes in below snippet:

cond_echo "Installing required python packages"
cond_redirect pip3 install -r "$mifloraDir"/requirements.txt

The venv must be prepared:
python -m venv --system-site-packages env
and activated
source env/bin/activate
before PIP is used to install the requirements.
for the package a pr is made to update the template.service

Brgds André

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions