problem installing LAP library in vscode using pyhton 3.12.4
(myenv) C:\Python_ML\Project>pip install lap Collecting lap Using cached lap-0.4.0.tar.gz (1.5 MB) Preparing metadata (setup.py) ... done Building wheels for collected packages: lap Building wheel for lap (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
C:\Users\AjayK\AppData\Local\Temp\pip-install-76bfr7uy\lap_db498f4eb29b4e47a19c425b5b8f640f\setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
Partial import of lap during the build process.
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lap Running setup.py clean for lap Failed to build lap ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lap)
Same issue occuring with my setup
same
The solution I found to this challenge that worked is
python 3.10.0 pip: 24.0 (latest) numpy: 1.26.3 (specifically this version works with most recent versions of other libraries that depend on numpy)
Hey,
I believe that this should solve your issues: https://github.com/rathaROG/lapx. (you can just pip install lapx instead of pip install lap, and everything will work as before)
Hi @raphaelreme and others, lap is back! After talking with rathaROG, I could use most of his changes and publish lap 0.5.12 on PyPI. The plan is to work on lap together 🚀