Skip to content

[ BUG ] pyppmd py7zr dependency issue on windows #246

@59e5aaf4

Description

@59e5aaf4

Bug Report Template

Describe the bug

Cannot install on windows. caracara forces specific versions of py7zr which then request a specific vesion of pyppmd which doesn't build on the latest windows, evne with said msvc++14 installed.

Collecting pyppmd<1.2.0,>=1.1.0 (from py7zr<0.23.0,>=0.22.0->caracara->mycode)


Building wheels for collected packages: pyppmd
  Building wheel for pyppmd (pyproject.toml) ... error
  error: subprocess-exited-with-error
      running build_ext
      building 'pyppmd.c._ppmd' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyppmd
Failed to build pyppmd

It's however possible to just install py7zr and pyppmd normally with their latest versions. It's currently forcing pyppmd 1.1.1 which fails to build. See

To Reproduce

run py -3 -m pip install caracara on windows

Expected behavior

install works

Environment

Operating System Version

windows 11 ( 10.0.22631.5335 )

Python Version

py -0p
-V:3.13 * C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1008.0_x64__qbz5n2kfra8p0\python3.13.exe

Python Package Versions

py -3 -m pip freeze
appdirs==1.4.4
beautifulsoup4==4.13.4
Brotli==1.1.0
bs4==0.0.2
certifi==2025.4.26
charset-normalizer==3.4.2
colorama==0.4.6
cssselect==1.3.0
fake-useragent==2.2.0
idna==3.10
importlib_metadata==8.7.0
inflate64==1.0.3
lxml==5.4.0
lxml_html_clean==0.4.2
multivolumefile==0.2.3
numpy==2.3.0
pandas==2.3.0
parse==1.20.2
psutil==7.0.0
psycopg2==2.9.10
py7zr==1.0.0
pyarrow==20.0.0
pybcj==1.0.6
pycryptodomex==3.23.0
pyee==11.1.1
pyotp==2.9.0
pyppeteer==2.0.0
pyppmd==1.2.0
pyquery==2.0.1
python-dateutil==2.9.0.post0
pytz==2025.2
pyzstd==0.17.0
requests==2.32.4
requests-html==0.10.0
ruamel.yaml==0.18.14
ruamel.yaml.clib==0.2.12
simplejson==3.20.1
six==1.17.0
soupsieve==2.7
texttable==1.7.0
tqdm==4.67.1
typing_extensions==4.14.0
tzdata==2025.2
urllib3==1.26.20
w3lib==2.3.1
websockets==10.4
zipp==3.23.0

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions