cvg / GlueStick

Joint Deep Matcher for Points and Lines 🖼️💥🖼️ (ICCV 2023)
https://iago-suarez.com/gluestick
MIT License
532 stars 40 forks source link

There is no setup.py for "pip install -e ." #23

Closed pct0427 closed 5 months ago

pct0427 commented 6 months ago

Hi, When I try to follow the installation steps, I encounter a problem where 'pip install -e .' cannot find the setup.py file. How should I resolve this issue?

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /com.docker.devenvironments.code/GlueStick (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

thank you.

pct0427

MikeJPelton commented 5 months ago

Have just encountered the same issue trying to build this in a conda environment. Installing python fixed it for me, e.g.

conda install python=3.8

After this, running the pip install step ran. Hope it helps!

pct0427 commented 5 months ago

Have just encountered the same issue trying to build this in a conda environment. Installing python fixed it for me, e.g.

conda install python=3.8

After this, running the pip install step ran. Hope it helps!

Got it and thanks, bro.

c-keil commented 5 months ago

Upgrading pip can also solve this issue. pip install --upgrade pip