tAdd install note for vtk python module - sphere - GPU-based 3D discrete elemen… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit bad861c77e78e15be70b3d2de8410ff5db18ff9d | |
parent 55761643753fdef65b497f3b1cfe00b82500a0ca | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 19 Aug 2019 11:18:16 +0200 | |
Add install note for vtk python module | |
Diffstat: | |
M python/sphere.py | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -16,6 +16,7 @@ try: | |
except ImportError: | |
print('Warning: Could not find "vtk" python module. ' + | |
'Fluid VTK calls will be unavailable') | |
+ print('Consider installing with `pip install --user vtk`') | |
py_vtk = False | |
else: | |
py_vtk = True |