Skip to content

Commit

Permalink
install script for windows GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
allucas authored Jan 22, 2024
1 parent af8207c commit 3523281
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions python/install_ieeg-recon_gui_windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/bin/bash

# Directory where this script is located
INSTALL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Install directory: ${INSTALL_DIR}"


# source conda
CONDA_PATH=$(dirname $(dirname $(which conda)))
source "$CONDA_PATH/etc/profile.d/conda.sh"


# Create a conda environment with the specified Python version
echo "Creating iEEG-recon Environment"

conda create -n ieeg_recon python=3.9 -y

# Activate the conda environment
# source activate ieeg_recon_m1
conda activate ieeg_recon

# Upgrade pip
pip install -U pip

# Install the required Python packages
pip install antspyx
pip install antspynet

# Install the rest of the python packages
pip install nipype
pip install niworkflows
pip install ipython
pip install mayavi
pip install pyqt5
pip install voxtool
pip install pydeface
pip install pillow
echo "Python Environment installed..."
echo "Activate the environment with: conda activate ieeg_recon"
echo "After activation, run the iEEG-recon docker GUI with: python ${INSTALL_DIR}/ieeg_recon_gui_docker.py"

0 comments on commit 3523281

Please sign in to comment.