{"id":41449606,"url":"https://github.com/yunjunz/conda-envs","last_synced_at":"2026-01-23T15:13:23.227Z","repository":{"id":52956826,"uuid":"266946640","full_name":"yunjunz/conda-envs","owner":"yunjunz","description":"conda environment setup on Linux / macOS for InSAR data processing","archived":false,"fork":false,"pushed_at":"2025-12-12T04:44:22.000Z","size":133,"stargazers_count":68,"open_issues_count":1,"forks_count":21,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-13T12:44:25.773Z","etag":null,"topics":["conda","insar","install","linux","macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yunjunz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-26T04:46:24.000Z","updated_at":"2025-12-12T04:44:26.000Z","dependencies_parsed_at":"2023-02-08T09:00:35.628Z","dependency_job_id":"4d8ecef3-9a7a-4a24-a6c6-fd9bbbfd2349","html_url":"https://github.com/yunjunz/conda-envs","commit_stats":null,"previous_names":["yunjunz/conda_envs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yunjunz/conda-envs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunjunz%2Fconda-envs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunjunz%2Fconda-envs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunjunz%2Fconda-envs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunjunz%2Fconda-envs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunjunz","download_url":"https://codeload.github.com/yunjunz/conda-envs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunjunz%2Fconda-envs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conda","insar","install","linux","macos"],"created_at":"2026-01-23T15:13:22.637Z","updated_at":"2026-01-23T15:13:23.215Z","avatar_url":"https://github.com/yunjunz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## conda-envs\n\nSet up InSAR data processing codes on Linux / macOS / Windows using `conda` environments.\n\n### 0. (For Windows only) [Install Windows Subsystem for Linux](./docs/wsl.md)\n\n### 1. Install conda\n\nInstall the Python environment with `conda/mamba`.\n\n```bash\nmkdir -p ~/tools; cd ~/tools\n# for macOS, use Miniforge3-MacOSX-x86_64.sh (or Miniforge3-MacOSX-arm64.sh if you are using Apple Silicon Mac and all your software supports the M series chips)\n# optionally use `curl -L -O https://...` syntax to download\nwget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh\nbash Miniforge3-Linux-x86_64.sh -b -p ~/tools/miniforge\n~/tools/miniforge/bin/conda init bash\n```\n\nClose and restart the shell for changes to take effect. Then install the following utilities:\n\n```\nmamba install wget git tree numpy --yes\npip install bypy\n```\n\n### 2. Install ISCE-2 and MintPy\n\n#### Option 1: Install isce2 (conda version) and mintpy (conda version)\n\nBoth isce2 and mintpy are available on the conda-forge channel and can be install via `mamba` as:\n\n```bash\nmamba install isce2 mintpy\n```\n\nAdd below in your source file, e.g. `~/.bash_profile` for _bash_ users or `~/.cshrc` for _csh/tcsh_ users:\n\n```bash\nexport PATH=${PATH}:${ISCE_HOME}/bin:${ISCE_HOME}/applications  # ISCE_HOME/STACK are set by conda\n```\n\n#### Option 2: Install isce2 (conda version) and mintpy (development version)\n\n##### a. Download source code\n\n```bash\ncd ~/tools\nmkdir isce2; cd isce2\nmkdir build install src; cd src\ngit clone https://github.com/isce-framework/isce2.git\n\ncd ~/tools\ngit clone https://github.com/insarlab/MintPy.git\ngit clone https://github.com/insarlab/PyAPS.git\ngit clone https://github.com/insarlab/PySolid.git\ngit clone https://github.com/yunjunz/conda-envs.git\n\nmkdir -p ~/tools/utils; cd ~/tools/utils\ngit clone https://gitlab.com/yunjunz/SSARA.git\ngit clone https://github.com/yunjunz/sardem.git\n```\n\n##### b. Install to `insar` environment\n\n```bash\n# create new environment\nconda create --name insar --yes\nconda activate insar\n\n# install dependenciues and isce2\ncd ~/tools\nmamba install --file conda-envs/insar/requirements.txt --file MintPy/requirements.txt isce2\"\u003e=2.6.3\" --yes\n\n# install MintPy in editable mode\npython -m pip install -e MintPy\n# [for developers] overwrite PyAPS and PySolid installation from conda to the editable mode\npython -m pip install -e PyAPS\nexport SETUPTOOLS_ENABLE_FEATURES=\"legacy-editable\"\npython -m pip install -e PySolid\n\n# install dependencies not available from conda\nln -s ${CONDA_PREFIX}/bin/cython ${CONDA_PREFIX}/bin/cython3\npython -m pip install ipynb     # import functions from *.ipynb files\npython -m pip install jupyter_nbextensions_configurator\npython -m pip install -e utils/sardem\n```\n\n##### c. Setup\n\nCreate an alias `load_insar` in `~/.bash_profile` file for easy activation, _e.g._:\n\n```bash\nalias load_insar='conda activate insar; source ~/tools/conda-envs/insar/config.rc'\n```\n\n##### d. Test the installation\n\nRun the following to test the installation:\n\n```bash\nload_insar               # warm up conda environment\ntopsApp.py -h            # test ISCE-2\nsmallbaselineApp.py -h   # test MintPy\n```\n\n#### Option 3: [Install isce2 (development version) and mintpy (development version)](./isce2/README.md)\n\n### Useful resources\n\n+ [Linux setup](https://github.com/yunjunz/conda-envs/blob/main/docs/terminal.md)\n+ [conda cheat sheet](https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf)\n+ [Jupyter: Display hidden files](https://jupyterlab.readthedocs.io/en/stable/user/files.html#displaying-hidden-files)\n+ [Jupyter: Run Notebooks on a remote server](docs/jupyter.md)\n+ [Connect to GitHub with SSH](https://docs.github.com/en/authentication/connecting-to-github-with-ssh)\n+ [`bypy`: Command line downloader for Baidu Yun](https://blog.csdn.net/PolarisRisingWar/article/details/121887801)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunjunz%2Fconda-envs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunjunz%2Fconda-envs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunjunz%2Fconda-envs/lists"}