Skip to content

Error installing on Ubuntu 24.04 cannot uninstall system provided zipp package. #70

@WallyZambotti

Description

@WallyZambotti

Python naive user does not know how to resolve issue.

$ sudo pip install indiweb
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.
    
    See /usr/share/doc/python3.12/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.
$ sudo pip install indiweb --break-system-packages
Collecting indiweb
  Downloading indiweb-0.2.0-py3-none-any.whl.metadata (13 kB)
Collecting requests==2.32.2 (from indiweb)
  Downloading requests-2.32.2-py3-none-any.whl.metadata (4.6 kB)
Collecting psutil==6.0.0 (from indiweb)
  Downloading psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (21 kB)
Collecting bottle==0.12.25 (from indiweb)
  Downloading bottle-0.12.25-py3-none-any.whl.metadata (1.8 kB)
Collecting importlib_metadata==8.5.0 (from indiweb)
  Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting zipp>=3.20 (from importlib_metadata==8.5.0->indiweb)
  Downloading zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.32.2->indiweb)
  Downloading charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (35 kB)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.32.2->indiweb) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests==2.32.2->indiweb) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.32.2->indiweb) (2023.11.17)
Downloading indiweb-0.2.0-py3-none-any.whl (369 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 369.3/369.3 kB 4.8 MB/s eta 0:00:00
Downloading bottle-0.12.25-py3-none-any.whl (90 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.2/90.2 kB 3.7 MB/s eta 0:00:00
Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Downloading psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (292 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.0/292.0 kB 4.6 MB/s eta 0:00:00
Downloading requests-2.32.2-py3-none-any.whl (63 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.9/63.9 kB 1.8 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (143 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.8/143.8 kB 4.7 MB/s eta 0:00:00
Downloading zipp-3.21.0-py3-none-any.whl (9.6 kB)
Installing collected packages: bottle, zipp, psutil, charset-normalizer, requests, importlib_metadata, indiweb
  Attempting uninstall: zipp
    Found existing installation: zipp 1.0.0
ERROR: Cannot uninstall zipp 1.0.0, RECORD file not found. Hint: The package was installed by debian.
odroid@odroid:~$ indi-web -h
bash: indi-web: command not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions