Installation of ISCE2 and Mintpy in Win10

This post is a summary of the installation of ISCE2 and MintPy in Win10.

Installation of ISCE2

Install ISCE2 in anaconda environment. Details at github page of Dr. Yunjun ZHANG

1
2
3
4
5
6
7
8
# create new environment
conda create --name insar --yes
conda activate insar

# install dependenciues and isce2
cd ~/tools
mamba install conda install conda-forge::isce2

Setup environment variables

Create an alias load_insar in ~/.bash_profile file for easy activation, e.g.:

1
alias load_insar='conda activate insar; source ~/tools/conda-envs/insar/config.rc'

Then, load the environment variables by:

1
2
load_insar
load_tops_stack # source ONLY ONE AT A TIME to avoid naming conflicts:load_stripmap_stack,load_tops_stack,load_alos_stack

2nd option

Or,

1
alias load_insar='conda activate insar; source ~/tools/conda-envs/insar/config.rc; export PATH=${PATH}:${ISCE_STACK}/topsStack; echo "load ISCE-2 topsStack from "${ISCE_STACK}/topsStack'

In this case, just need load_insar in bash.

More details about error using stackSentinel.py command are at this CSDN page

Test ISCE2 and MintPy

1
2
3
topsApp.py -h            # test ISCE-2
smallbaselineApp.py -h # test MintPy
stackSentinel.py -h # test topsStack

Insatall ISCE2 in development mode

The secone way to install ISCE2 in Dr. Yunjun ZHANG’s page is to install ISCE2 in development mode.

1
2
3
# install dependenciues and isce2
cd ~/tools
mamba install --file conda-envs/insar/requirements.txt --file MintPy/requirements.txt isce2">=2.6.3" --yes

It will lead to some error due to unable to locate some packages, reference. To solve this problem, use the following command:

1
2
cd conda-envs/insar
while read requirement; do conda install --yes $requirement; done < requirements.txt

Run Linux GUI apps on the Windows Subsystem for Linux

In order to edit the ISCE2 configuration files, we need to run the Linux GUI apps on the Windows Subsystem for Linux.

1
sudo apt install gedit -y

Config asf_search user infos, edit ~/tools/utils/SSARA/password_config.py files use gedit password_config.py command.


Installation of ISCE2 and Mintpy in Win10
https://mengyuchi.gitlab.io/2025/04/15/Installation-of-ISCE2-and-Mintpy-in-Win10/
Author
Yuchi Meng
Posted on
April 15, 2025
Licensed under