Updating Change Detection [ERROR] #320

Closed
opened 2026-02-04 17:57:21 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @andreasgapsch on GitHub (Jan 12, 2025).

Have you read and understood the above guidelines?

yes

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

Change Detection

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)"

📝 Provide a clear and concise description of the issue.

Update do not work and give me the following error:
[ERROR] in line 45: exit code 0: while executing command pip3 install changedetection.io --upgrade &> /dev/null

error: 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.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

update

Paste the full error output (if available).

[ERROR] in line 45: exit code 0: while executing command pip3 install changedetection.io --upgrade &> /dev/null

error: 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.

🖼️ Additional context (optional).

No response

Originally created by @andreasgapsch on GitHub (Jan 12, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Change Detection ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)" ### 📝 Provide a clear and concise description of the issue. Update do not work and give me the following error: [ERROR] in line 45: exit code 0: while executing command pip3 install changedetection.io --upgrade &> /dev/null error: 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. ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. update ### ❌ Paste the full error output (if available). [ERROR] in line 45: exit code 0: while executing command pip3 install changedetection.io --upgrade &> /dev/null error: 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. ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-04 17:57:21 +03:00
Author
Owner

@MickLesk commented on GitHub (Jan 12, 2025):

Search discussions for Python

@MickLesk commented on GitHub (Jan 12, 2025): Search discussions for Python
Author
Owner

@p3l4h0 commented on GitHub (Feb 21, 2025):

Since I also stumbled about this Issue:
TLDR: Execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console.

@p3l4h0 commented on GitHub (Feb 21, 2025): Since I also stumbled about this Issue: [TLDR: Execute rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED in the LXC console.](https://github.com/community-scripts/ProxmoxVE/discussions/555)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#320