ChangeDetection update fails #1231

Closed
opened 2025-11-20 05:06:41 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @johnsturgeon on GitHub (Jun 4, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

ChangeDetection

📂 What was the exact command used to execute the script?

update (after install)

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

I'm getting an error updating ChangeDetection LXC

🔄 Steps to reproduce the issue.

update

Paste the full error output (if available).

⠴ Updating Change Detectionerror: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
⠧ Updating Change Detection
[ERROR] in line 40: exit code 0: while executing command $STD pip3 install changedetection.io --upgrade

🖼️ Additional context (optional).

No response

Originally created by @johnsturgeon on GitHub (Jun 4, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? ChangeDetection ### 📂 What was the exact command used to execute the script? update (after install) ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. I'm getting an error updating ChangeDetection LXC ### 🔄 Steps to reproduce the issue. update ### ❌ Paste the full error output (if available). ``` ⠴ Updating Change Detectionerror: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.11/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. ⠧ Updating Change Detection [ERROR] in line 40: exit code 0: while executing command $STD pip3 install changedetection.io --upgrade ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:06:41 -05:00
Author
Owner

@johnsturgeon commented on GitHub (Jun 4, 2025):

Found solution

@johnsturgeon commented on GitHub (Jun 4, 2025): Found solution
Author
Owner

@hpdobrica commented on GitHub (Jun 4, 2025):

what was the solution? @johnsturgeon

@hpdobrica commented on GitHub (Jun 4, 2025): what was the solution? @johnsturgeon
Author
Owner

@MickLesk commented on GitHub (Jun 4, 2025):

Remove external Managed Python. Look at discussions

@MickLesk commented on GitHub (Jun 4, 2025): Remove external Managed Python. Look at discussions
Author
Owner

@johnsturgeon commented on GitHub (Jun 4, 2025):

Sorry, @hpdobrica .. I should have closed it with a comment, yes, that was it, I did a better search in the discussions and found it.
link to the discussion for future searchers

@johnsturgeon commented on GitHub (Jun 4, 2025): Sorry, @hpdobrica .. I should have closed it with a comment, yes, that was it, I did a better search in the discussions and found it. [link to the discussion for future searchers](https://github.com/community-scripts/ProxmoxVE/discussions/555)
Author
Owner

@tremor021 commented on GitHub (Jun 4, 2025):

This is a temporary solution as all containers using python will migrate to using uv to manage virtual environments. #4961

@tremor021 commented on GitHub (Jun 4, 2025): This is a temporary solution as all containers using python will migrate to using `uv` to manage virtual environments. #4961
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1231