plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

ImportError: No module named ecto_main #286

Closed jamiephillips0000 closed 8 years ago

jamiephillips0000 commented 8 years ago

Hi I encountered a problem trying to install OpenDroneMap https://github.com/OpenDroneMap/OpenDroneMap/issues/337 Error output is as follows ImportError: No module named ecto_main

I chatted with @dakotabenjamin and agreed to ask you guys

To reproduce this just run the file python/ecto/test.py Any help is appreciated Kr Jamie

dakotabenjamin commented 8 years ago

BTW we pull from this commit https://github.com/plasmodic/ecto/commit/c6178ed0102a66cebf503a4213c27b0f60cfca69

vrabaud commented 8 years ago

do you guys use catkin at all ?

jamiephillips0000 commented 8 years ago

Yup catkin is installed using sudo pip install -U catkin-pkg

edgarriba commented 8 years ago

@vrabaud Not sure how catkin interacts with Ecto but at least it is a required dependency in the CMake. Suggestions?

jamiephillips0000 commented 8 years ago

Solved - this was an issue with Anaconda (which IMO cannot be used in conjunction with OpenDroneMap).

kaygudo commented 8 years ago

Hey guys, while installing ecto i am getting following error:

CMake Error at CMakeLists.txt:32 (find_package): By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one.

Could not find a package configuration file provided by "catkin" with any of the following names:

catkinConfig.cmake
catkin-config.cmake

Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

any suggestions?

jamiephillips0000 commented 8 years ago

If you are using anaconda/python then try without it.

On 11 Aug 2016 12:58, "kaygudo" notifications@github.com wrote:

Hey guys, while installing ecto i am getting following error:

CMake Error at CMakeLists.txt:32 (find_package): By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one.

Could not find a package configuration file provided by "catkin" with any of the following names:

catkinConfig.cmake catkin-config.cmake

Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

any suggestions?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/plasmodic/ecto/issues/286#issuecomment-239141045, or mute the thread https://github.com/notifications/unsubscribe-auth/AJhANVksYETF_B16Jp3uAz1YPe6Wv6P9ks5qew53gaJpZM4JJXCu .

kaygudo commented 8 years ago

You mean by executing "python setup.py install"?

jamiephillips0000 commented 8 years ago

Nope Its hard to tell from your error message - but you are using Ubuntu right? if so it is something like sudo apt-get install python I found that a lot of python stuff that requires e.g. integration with CV2 need the systems package manager install so that everything works together

On Thu, Aug 11, 2016 at 1:03 PM, kaygudo notifications@github.com wrote:

You mean by executing "python setup.py install"?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/plasmodic/ecto/issues/286#issuecomment-239141936, or mute the thread https://github.com/notifications/unsubscribe-auth/AJhANWF6XE0MNuU86Z3VEywxo1HJkFZ3ks5qew-EgaJpZM4JJXCu .

kaygudo commented 8 years ago

But, "sudo apt-get install python " will just install python and not ecto.isn't it?

jamiephillips0000 commented 8 years ago

i had the same error as you while installing OpenDroneMap - which has a dependency on ecto. I dont know what you are installing but "Ecto is a hybrid C++/Python development framework for constructing and maintaining pipelines" So ecto needs python (and python with the correct bindings to dependent system libraries) so that it will work It might help if you mentioned 1) OS 2) What you are trying to do/install Jamie

On Thu, Aug 11, 2016 at 1:35 PM, kaygudo notifications@github.com wrote:

But, "sudo apt-get install python " will just install python and not ecto.isn't it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/plasmodic/ecto/issues/286#issuecomment-239148033, or mute the thread https://github.com/notifications/unsubscribe-auth/AJhANcJWnsX52xDntvxge9FD7NvGaohmks5qexb8gaJpZM4JJXCu .

kaygudo commented 8 years ago

I am trying to install ecto itself "https://github.com/plasmodic/ecto" on ubuntu, i already have python 2.7 installed.

jamiephillips0000 commented 8 years ago

can you post the results of which python

On Thu, Aug 11, 2016 at 2:24 PM, kaygudo notifications@github.com wrote:

I am trying to install ecto itself "https://github.com/plasmodic/ecto" on ubuntu, i already have python 2.7 installed.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/plasmodic/ecto/issues/286#issuecomment-239159494, or mute the thread https://github.com/notifications/unsubscribe-auth/AJhANbYco_k-6WzoatJpnorXItombpx7ks5qeyKFgaJpZM4JJXCu .

kaygudo commented 8 years ago

/usr/bin/python