docker_pyopenvdb
OpenVDB for python 3.7 Creates a docker container, which is used to build and package pyopenvdb.
Installation
Currently only for linux systems with x86_64 architecture
- pip install pyopenvdb
- Find parent directory of pyopenvdb.so with
find / | grep -P 'pyopenvdb\.so'
-
export LD_LIBRARY_PATH=
[parent directory] - Add
import numpy
andimport openvdb
to ipykernel_launcher.py to get jupyter lab to import without a pointer error.
Installation
- Install docker
- Install docker-machine (if running on macOS or Windows)
- Ensure docker-machine has at least 4 GB of memory allocated to it.
cd docker_pyopenvdb
chmod +x bin/pyopenvdb
bin/pyopenvdb start
The service should take several minutes to start up.
Run bin/pyopenvdb --help
for more help on the command line tool.
Usage
>>>python3.7
>>>import openvdb