Skip to content

Edit this page

Open and issue

The Visualization Toolkit (VTK)

Installing for Python

On newer linux distributions, Python VTK can be difficult to install. The following is a solution from this GitHub post.

pip3 install https://www.vtk.org/files/release/9.0/vtk-9.0.0-cp38-cp38-linux_x86_64.whl

Download ART

Download the newest version of ART.

Linux

Make a new directory for the install and extract the tar package into it:

mkdir ~/Applications/ART
cd ~/Applications/ART
tar -xvzf /mnt/c/Users/*[your_username]*/Downloads/acpcdetect2.0*.tar.gz

Post Configuration

Set the ARTHOME environment variable and add the binary directory to your PATH by editing your ~/.bashrc file:

vim ~/.basrc

Add these lines to the end:

export ARTHOME=/path/to/ART
export PATH=$ARTHOME/bin:$PATH

Confirm Installation

Execute acpcdetect by running command in terminal

You may get an error when executing acpcdetect:

acpcdetect: error while loading shared libraries: liblapack.so.3: cannot open shared object file: No such file or directory

If you get this error, run the following:

sudo apt-get install libatlas-base-dev

You will also need to install pnmtopng

sudo apt-get install -y pnmtopng