feelpp / angiotk

Virtual Angiography Toolkit
http://docs.feelpp.org/angiotk/0.1
Apache License 2.0
5 stars 0 forks source link

VMTK tools fail in Docker image #32

Closed francoisdh closed 6 years ago

francoisdh commented 6 years ago

Using the feelpp/angiotk:stable Docker image, VMTK tools fail:

user@feelpp:~$ vmtkimagewriter
Unexpected error: <type 'exceptions.ImportError'>
Traceback (most recent call last):
  File "/usr/local/bin/vmtkimagewriter", line 20, in <module>
    from vmtk import pypeserver
ImportError: No module named vmtk

The problem can be fixed by appending the following path to the PYTHONPATH environment variable:

export PYTHONPATH = $PYTHONPATH:/usr/local/lib/python3.5/site-packages

I guess this could be added to the docker image ?

francoisdh commented 6 years ago

feelpp-env needs to be updated

prudhomm commented 6 years ago

@francoisdh I added this to the sprint as it is needed to fix the python issue to transform the niftii imageto mha format. I will redo the feelpp-env to fix that.

prudhomm commented 6 years ago

@stsalmon @francoisdh @vincentchabannes this has been fixed in the latest angiotk image. just do the following to retrieve the latest image

docker pull feelpp/angiotk:master