AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

[BUILD] Installing on Colab?

Open
#1,059 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
774
Avg merge
3d 9h
Merged PRs (30d)
34

Description

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.

2) import
```
import pyopenvdb
```
Throws an error: `ImportError: libboost_python37.so.1.68.0: cannot open shared object file: No such file or directory`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the listed apt and pip installation commands in the reported Google Colab Ubuntu 18.04 environment, then inspect the import failure for the missing libboost_python37.so.1.68.0 library and compare it with the Ubuntu openvdb package details. Done means the documented installation completes without a fatal dependency problem and import pyopenvdb succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.