OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.81k stars 1.09k forks source link

Can't run ODM - libecto.so.0.6 error #458

Closed romina-gonzalez-musso closed 7 years ago

romina-gonzalez-musso commented 7 years ago

Hi everyone! I'm having some trouble running ODM. I've installed OpenDroneMap-v0_2 following all the instructions and it seems to be okey. No error messages.

However, when I tried to run ODM using "python run.py --project-path /path/to/project -i /path/to/images", I get this error:

Traceback (most recent call last): File "run.py", line 8, in import ecto File "/home/romina/OpenDroneMap-v0_2/SuperBuild/install/lib/python2.7/dist-packages/ecto/init.py", line 30, in from ecto.ecto_main import _cell_base, _cell_cpp, getitem_list, getitem_slice, getitem_str, getitem_tuple, lookup ImportError: libecto.so.0.6: cannot open shared object file: No such file or directory

Am I doing something wrong? I used a few weeks ago ODM and I had no problems. Thank you all!

dakotabenjamin commented 7 years ago

Try this instead: "./run.sh --project-path /path/to/project"

romina-gonzalez-musso commented 7 years ago

Thank you for your answer, @dakotabenjamin. However now using that command gives me the "permission denied" error, even though I use "sudo" as superuser. Any ideas?

dakotabenjamin commented 7 years ago

Can you be more specific about the error by copy-pasting the output?

When you ran weeks ago, did you set your environment variables in ~/.bashrc? Are they still there? Are you able to manually set the environment variables?

export PYTHONPATH=$PYTHONPATH:/your/path/OpenDroneMap/SuperBuild/install/lib/python2.7/dist-packages
export PYTHONPATH=$PYTHONPATH:/your/path/OpenDroneMap/SuperBuild/src/opensfm
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path/OpenDroneMap/SuperBuild/install/lib
romina-gonzalez-musso commented 7 years ago

May be this helps:

captura de pantalla de 2017-01-24 16-51-11

Trying both ways, I get different errors.

When I used ODM the first time, I've set the environment variables. After I read your answer, I checked and somehow they were gone. Don't know why. Now I set them manually like this: captura de pantalla de 2017-01-24 16-51-29

dakotabenjamin commented 7 years ago

OK great. Run source ~/.bashrc then you can try using the python script again.

romina-gonzalez-musso commented 7 years ago

Great! Thank you a lot, @dakotabenjamin !