-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install Ive error #11
Comments
Hi. I did not encounter this issue myself. Maybe this can help? pypa/packaging-problems#573 |
I hava try to build dockerfile and the limap-internal.git is missing so turn to conda environment. And I have seen the dockerfile update, I think that will solve my problem and thanks for the reply. |
I do use anaconda myself, so this should not be a problem. But glad that it works for you now : ) |
Hello @B1ueber2y , I have also encountered the same mistake as @Gotta-C . May I ask what happened? |
Hi @LikeRain0 I have not encountered this issue before. May I ask what Python version you are using? Also, does this help? pypa/packaging-problems#573 |
My Python version is Python 3.9.10,and my pip version is pip 23.1.1. |
@LikeRain0 I think maybe the cuda image caused,the dockerfile based on nvidia/cuda:11.5.2-devel-ubuntu20.04,update dockerfile and add RUN pip install wheel before RUN the last line, the docker image build successfully, but I use A30 gpu cuda11.2 driver and A30 highest support cuda 11.4, so I rebuild based on nvidia/cuda:11.2.0-base-ubuntu18.04 and encountered the same problem again, that explain conda environment couldn't build because based on current cuda11.2 |
@LikeRain0 I have try another machine with cuda 11.6 and all goes well. you can upgrade your cuda driver. |
OK, it is indeed related to the CUDA version. |
hello, @Gotta-C , @B1ueber2y . ` [ 24%] Building CXX object limap/CMakeFiles/limap.dir/base/linetrack.cc.o
error: subprocess-exited-with-error × python setup.py develop did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip.` But my Cmake version(3.26.3) and cuda version(11.6), as well as Python(3.9.16), torch(1.13.1), tochvision(0.14.1), and the ones I have successfully configured locally, are consistent. Do you know what's going on here? |
i have meet the same problem, do u find a good solution? |
Hi @RivaLei , I have fixed this error by using Colmap 3.8 (release) I think Colmap 3.8 dev version lead to linking error build. |
Could you please explain how you specifically repaired it?@quachconghoang |
I see these crashes come from Cmake native build (C++ libs) from the submodules , so that becareful with environment & dependency. I just carefully followed the Readme:
Good luck. |
@quachconghoang thx! i find that the g++ version is old in my case (limap needs g++9.x while mine is g++ 4.x). so i make it by updating the g++ version. it works for me.
@quachconghoang thx! i have checked the verison of the colmap (3.8). Then i found that the g++ version is too old in my case ( limap needs g++ > 9.0 while mine is 4.x). so i update it. luckly, it works for me~ |
I have success in python -m pip install -Ive . in my docker(ubuntu20.04) and when I run python -c "import limap" occurs error: root@67318b:/home/limap# python -c "import limap" I build Colmap(3.8) with Cuda 11.3, the torch is torch==1.12.0 torchvision==0.13.0, cmake is 3.23.0, python is 3.9. Can someone help me? |
As the error message suggest, you do not have hloc installed. Please check if the submodule |
python -m pip install -Ive . conda environment occurs error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: