GrepBoard/Manuals
605 manuals ·

Python & pip 7

pip, venv and import errors.

  1. ty 1.0: Try It on a Project That Uses mypy

    Run ty 1.0.0 and mypy 2.4.1 on the same code, see where they differ, check exit codes and old type-ignore comments, and diff what --fix and --add-ignore edit.

    Python 3.13.18 (Docker python:3.13-slim) · ty 1.0.0 · mypy 2.4.1 · 2026-12
  2. Fix ModuleNotFoundError: No module named after pip install

    pip install worked but you get ModuleNotFoundError: No module named? pip and python point at different environments. Compare two paths and use python -m pip.

    Python 3.12.16 · pip 25.0.1 (Docker python:3.12-slim) · 2026-10
  3. Fix pip SSL: CERTIFICATE_VERIFY_FAILED behind a proxy

    pip SSL: CERTIFICATE_VERIFY_FAILED means pip doesn't trust your proxy's or private index's CA. Check the issuer, then add it to the OS store, --cert, PIP_CERT.

    Python 3.12.16 · pip 25.0.1 (Docker python:3.12-slim) · 2026-10
  4. Fix UnicodeDecodeError: 'utf-8' codec can't decode byte

    UnicodeDecodeError 'utf-8' codec can't decode byte means a non-UTF-8 file was read as UTF-8. Use the byte value to spot cp1252, a BOM or gzip; set encoding=.

    Python 3.12.16 (Docker python:3.12-slim) · 2026-10
  5. Fix pip subprocess-exited-with-error: Failed building wheel

    pip subprocess-exited-with-error and Failed building wheel mean the build failed, usually a source build with no wheel. Read the line above [end of output].

    Python 3.12.16 · pip 25.0.1 · Debian 13 (Docker python:3.12-slim) · 2026-10
  6. Fix pip error: externally-managed-environment on Ubuntu 24.04

    pip install fails with error: externally-managed-environment on Ubuntu 24.04 because apt owns the system Python. Use a venv, pipx, or apt instead.

    Ubuntu 24.04 · Python 3.12.3 · pip 24.0 · pipx 1.4.3 (Docker) · 2026-10
  7. Fix pip ERROR: No matching distribution found for a package

    pip No matching distribution found for means nothing installable fits your setup. The line above it splits name, network, Python version and wheel causes.

    Python 3.12.16 · 3.9.25 · pip 25.0.1 (Docker python:*-slim) · 2026-10