BerkeleyAutomation / dex-net

Repository for reading the Dex-Net 2.0 HDF5 database of 3D objects, parallel-jaw grasps, and robust grasp metrics
https://berkeleyautomation.github.io/dex-net/code.html
Other
296 stars 97 forks source link

Installation issues #24

Open Supergitter123 opened 5 years ago

Supergitter123 commented 5 years ago

Hi, We've been trying to install Dex-net 2.0 but can't get it to work. Here's a walkthrough of my problems: Running it with: Ubuntu 16.04, ROS kinetic installed, pip installed

  1. Cloning dex-net into my_workspace/src
  2. Installing it with version: cpu and argument: ros The installation goes through but the following lines show up somewhere in the middle
    • Finished processing dependencies for meshpy==0.1.0
    • install.sh: 103: install.sh: catkin_make: not found
    • install.sh: 104: install.sh: source: not found

The result is that all the modules such as autolab_core, meshpy, visualization, gqcnn and perception are not installed. They are cloned as they should be through the installation file but I have to go into each separate one and install them. Further on I keep getting errors with mayavi, traitlets and lots of modules not being imported properly. I then went and installed each module separately when Dex-net complained on not having them. However in the end I can't get around that mayavi is not properly imported even though it's installed.

Running sudo python setup.py test gives me the following error after run 15: Ran 15 tests in 346.004s

FAILED (errors=1) Test failed: error: Test failed:

Anyone that know what the problem could be or can help me to troubleshoot this?

Thanks

jeffmahler commented 5 years ago

@Supergitter123 Your errors indicate that several important commands are unavailable: catkin_make is typically installed with ROS and source should always work on Ubuntu 16.04.

Can you try running the following from the command line?

catkin_make
which catkin_make # if command 1 works
source ~/.bashrc

Please post any errors here. Thanks.

Supergitter123 commented 5 years ago

Catkin_make should be working properly. It of course gives me errors when I'm outside of the workspace but while inside it runs smoothly.

~/catkin_dex$ which catkin_make /opt/ros/kinetic/bin/catkin_make

source ~/.bashrc gives no error either

yangliu666yl commented 5 years ago

Hello, I have the same issue while installing dex-net (gpu ros), and my install environment is the same to you. Do you find the solution to this install issue? Thx!