-
Notifications
You must be signed in to change notification settings - Fork 286
Running InVesalius 3 in Windows
- Python3 (We are using the version 3.7).
- Visual Studio (We are using the 2017 community edition).
- Download InVesalius source code.
Install WXPython, numpy, scipy, scikit-image, ImageIO, H5Py, Pillow, Pyserial, PSUtil, nibabel, configparser, PyPubsub and plaidml using pip:
pip install wxpython numpy scipy scikit-image imageio h5py pillow pyserial psutil nibabel configparser PyPubsub plaidml-keras
It's also needed to install VTK and GDCM. It's possible to install the wheel files we are providing, but they will only work with Python3.7 to Windows 10 64 bits. If you are using other version of Python and/or Windows, you will need to compile VTK and GDCM by yourself. The link to download the wheel files are:
After downloading the wheel file, using command line enter in the folder with the wheel files and install them using pip:
pip install gdcm-2.8.8-cp37-cp37m-win_amd64.whl
pip install vtk-8.1.2-cp37-cp37m-win_amd64.whl
When using for neuronavigation, also download and install the library below for communication with Polaris tracking devices.
pip install pypolaris-0.0.1-py3-none-win_amd64.whl
Some algorithms of InVesalius are written in Cython for performance. It's needed to compile them. First, you need to install cython:
pip install cython
Open the command prompt of your Visual Studio and go to the InVesalius source, then compile using this command:
python setup.py build_ext --inplace
Inside InVesalius source code run python app.py
to run InVesalius.