Skip to content

missing wheel for pysimstring (Python 3.11+); failed to build leveldb on Windows #66

@valentin-marie

Description

@valentin-marie

The last wheel for https://pypi.org/project/pysimstring/1.2.1/ is for Python 3.10, so the uv package manager fails to install medkit-lib with Python 3.11+. Or I would need administrator rights on Windows, or building from source on Linux.

So I installed medkit-lib[hf-utils,training] v0.16.0 using uv with Python 3.10 on Windows.

I failed to install medkit-lib[all] using uv with Python 3.10 on Windows, I get an error message.

 uv add medkit-lib[all]
  × Failed to build `leveldb==0.201`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit code: 1)

      [stderr]
      Don't know how to compile leveldb for Windows!

      hint: This usually indicates a problem with the package or the build environment.
  help: `leveldb` (v0.201) was included because `predibilia` (v0.1.0) depends on `medkit-lib[all]` (v0.16.0) which depends on `quickumls>=1.4` (v1.4.2) which depends on `leveldb>=0.193`

If I install plyvel-wheels with uv first, then attempt the install of medkit-lib[all], I get the same error message.

This may be related to #60.

Meanwhile, I hope medkit-lib[hf-utils,training] will be enough.

Thank you for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions