lhotse icon indicating copy to clipboard operation
lhotse copied to clipboard

install error: Could not build wheels for lhotse, which is required to install pyproject.toml-based projects

Open Cescfangs opened this issue 1 year ago • 2 comments

I'm installing lhotse from source:

pip install -e .

and got following message:

...
 Building editable for lhotse (pyproject.toml) ... done
  Created wheel for lhotse: filename=lhotse-1.10.0.dev.unknownsource-0.editable-py3-none-any.whl size=7657 sha256=9250844742f7b0f9feb57ed2f1bcf32a6b5f38d9abf243b78f440cace730ab05
  Stored in directory: /tmp/pip-ephem-wheel-cache-q6fn1_47/wheels/63/56/36/5f1380c07a3ce15bdb9e2a3d270711edaa7c652766bb3878be
  WARNING: Built editable for lhotse is invalid: Metadata 1.2 mandates PEP 440 version, but '1.10.0.dev.unknownsource' is not
Failed to build lhotse
ERROR: Could not build wheels for lhotse, which is required to install pyproject.toml-based projects

FYI, I've installed successfully from pypi before, and now I wanna install the newest version for fast loading

Cescfangs avatar Nov 08 '22 10:11 Cescfangs

I guess it's a version issue? I can install from source by manually editing line 58 in setup.py from IS_DEV_VERSION = True # False = public release, True = otherwise to IS_DEV_VERSION = False # False = public release, True = otherwise

Cescfangs avatar Nov 08 '22 11:11 Cescfangs

Can you first remove pyproject.toml and retry?

csukuangfj avatar Nov 08 '22 11:11 csukuangfj