-
Notifications
You must be signed in to change notification settings - Fork 286
Running InVesalius 3 in Windows
Thiago Franco de Moraes edited this page Mar 29, 2021
·
22 revisions
- Python3 (We are using the version 3.7).
- Visual Studio (We are using the 2019 community edition).
- It's possible to install using chocolatey:
choco install -y visualstudio2019buildtools choco install -y visualstudio2019-workload-vctools
- It's possible to install using chocolatey:
- Download InVesalius source code.
git clone https://github.com/invesalius/invesalius3.git
Install InVesalius main dependencies (WXPython, numpy, scipy, scikit-image, ImageIO, H5Py, Pillow, Pyserial, PSUtil, nibabel, configparser, PyPubsub, plaidml and Cython) using pip:
pip install -r requirements.txt
When using the neuronavigation with Polaris tracking devices, install the PyPolaris library.
pip install https://github.com/invesalius/invesalius3/releases/download/v3.1.99994/pypolaris-0.0.1-py3-none-win_amd64.whl
To take advantage of the real-time tractography computation during neuronavigation, the package Trekker is required. The following command downloads and install the pre-generated wheel for Python 3.7:
pip install https://github.com/dmritrekker/trekker/raw/master/binaries/Trekker-0.7-cp37-cp37m-win_amd64.whl
Some algorithms of InVesalius are written in Cython for performance. It's needed to compile them. 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