OpenVDB for python 3.7 and python 3.8 Creates a docker container, which is used to build and package pyopenvdb. pyopenvdb.dockerfile is for development. prod_pyopenvdb.dockerfile is for testing installation of pyopenvdb pip package.
- 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.
Unless you intend on building and packing OpenVDB python bindings, you do not need to follow these instructions.
- Install docker
- Install docker-machine (if running on macOS or Windows)
- Ensure docker-machine has at least 4 GB of memory allocated to it.
git clone [email protected]:theNewFlesh/pyopenvdb.git
cd 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.
>>>python3.7
>>>import openvdb