When installing OpenCV:

/usr/bin/vtk not found

libvtkRenderingPythonTkWidgets.so not found
/usr/bin/vtk not found

libvtkRenderingPythonTkWidgets.so not found

Do:

sudo apt install libvtk6-dev python-vtk6

Then:

sudo update-alternatives --install /usr/bin/vtk vtk /usr/bin/vtk6 10
sudo ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.x86_64-linux-gnu.so /usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so

 

The file /usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so is also not found but both of these appear to be vtk6-related bugs. The above fixes the vtk dependency but the libvtkRenderingPythonTkWidgets.so only seems to exist in /usr/lib/python2.7/dist-packages/vtk. Creating a symlink with the following does the trick for this one~

 

 

 

参考:

https://github.com/autowarefoundation/autoware/issues/795

相关文章:

  • 2021-08-27
  • 2021-11-30
  • 2021-05-21
  • 2021-12-23
  • 2022-01-05
  • 2021-08-14
  • 2021-11-29
  • 2021-07-26
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-06-04
  • 2021-05-12
  • 2021-11-29
  • 2022-12-23
  • 2021-03-29
相关资源
相似解决方案