jsll / pytorch_6dof-graspnet

MIT License
152 stars 55 forks source link

No module named 'vtk' #16

Open Donglin-Wang2 opened 3 years ago

Donglin-Wang2 commented 3 years ago

Hi,

Thank you very much for sharing your implementation!

I followed the instructions in the README file to install the dependencies, but I got the following error when pip was trying to build mayavi:

ModuleNotFoundError: No module named 'vtk'

Background Info

  1. I am using Pop OS (an Ubuntu based Linux distro)

  2. I am trying to install using a conda environment created using the following command

conda create -n 6dofgraspnet python=3.6
  1. I have cloned the PointNet Pytorch repo into another folder parallel to the root folder of this repo.

I am wondering if there is anything I can do to resolve this issue.

jsll commented 3 years ago

Unfortunately from time to time, I have also had a lot of problems with VTK. To be thorough, did you follow the rest of the installation procedure, specifically the following step:

pip3 install -r requirements.txt

If you did and it still not works, maybe you can try the following command:

pip install vtk

Please let me know if these solutions work or not.