DeepLSD icon indicating copy to clipboard operation
DeepLSD copied to clipboard

Installation problem of pytlsd

Open abhi12019 opened this issue 1 year ago • 2 comments

I have tried to install the requirements.txt using pip, however, I am getting error for building wheel for pytlsd. The error is :

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pytlsd Successfully built antlr4-python3-runtime Failed to build pytlsd ERROR: Could not build wheels for pytlsd, which is required to install pyproject.toml-based projects.

What could be the issue? Please help me

abhi12019 avatar Jul 22 '24 16:07 abhi12019

Hello, I have a same question. Do you have solved this problem?

CyberAI-XDU avatar Dec 02 '24 04:12 CyberAI-XDU

Do you have solved this problem?please

young-mi-lu avatar Jan 14 '25 09:01 young-mi-lu

  1. Go to third_party\pytlsd\pybind11\CMakeLists.txt in your DEEPLSD root directory and change: cmake_minimum_required(VERSION 3.4) -> cmake_minimum_required(VERSION 3.5)

  2. Run pip install -r requirements.txt in that directory to install pytlsd.

  3. cd back to DEEPLSD root directory and comment out ./third_party/pytlsd line in the requirements.txt in that folder.

  4. Run all the commands in the quickstart_install.sh file manually one-by-one.

Should complete the installation

jwd222 avatar Jun 23 '25 08:06 jwd222

Great answer. Just works, fixes the problem without much hassle for me.

congbrian avatar Aug 06 '25 19:08 congbrian