openvdb icon indicating copy to clipboard operation
openvdb copied to clipboard

[BUILD] Installing on Colab?

Open ksteinfe opened this issue 3 years ago • 1 comments

I am trying to get openvdb running on Google Colab - has anyone had luck in doing this?

Environment

Colab Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic Python 3.7.10 (default, May 3 2021, 02:48:31) [GCC 7.5.0]

Describe the problem

I'm looking to get openvdb running on Google Colab using the Ubuntu package available at https://launchpad.net/ubuntu/+source/openvdb

I may be seeing an error upon installation in apt (I'm not sure) as well as when importing the library in Python.

To Reproduce

  1. install
!sudo apt update
!sudo apt install python-openvdb
!pip install pyopenvdb

Here I see the message /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link, but am not sure if this is a fatal problem.

  1. import
import pyopenvdb

Throws an error: ImportError: libboost_python37.so.1.68.0: cannot open shared object file: No such file or directory

ksteinfe avatar May 11 '21 23:05 ksteinfe

Have you gotten it to work?

neverix avatar Dec 31 '21 16:12 neverix