Skip to content

How to install PyAnalySeries on Windows from scratch

Patrick Brockmann edited this page Oct 6, 2025 · 2 revisions

Installation

1. Install Python

  • Search “install Python” in your browser.
  • Download the installer setup.
  • Open it and follow the steps (allow full permissions).

2. Install Anaconda

  • Search “install Anaconda” in your browser.
  • Download the installer setup (choose free download and skip registration).
  • Open it and follow the steps.
  • Make sure to check the three boxes during installation.

3. Open a PowerShell and Install PyAnalySeries

  • Install Git with:

    winget install --id Git.Git -e --source winget
  • Close and reopen PowerShell.

  • Clone PyAnalySeries:

    git clone https://github.com/PaleoIPSL/PyAnalySeries
    image
  • Create a Python environment:

    conda env create --file environment.yml

    If conda is not recognized, add it to PATH (see steps below).

  • List environments:

    conda env list
  • Activate environment:

    conda activate env_PyAnalySeries

    If you get CondaError: Run 'conda init' before 'conda activate', run:

    conda init
    Set-ExecutionPolicy RemoteSigned

    PyAnalySeries Then close and reopen PowerShell.

4. Test Installation

python PyAnalySeries.py
python PyAnalySeries.py test/ws_ex.xlsx
python PyAnalySeries.py test/MD95-2042.xlsx test/GeoB3938.xlsx

How to Add Conda to PATH in Windows

  1. Find Conda Installation

    • Go to C:\Users\YOUR_USERNAME\ and look for anaconda3 or miniconda3.

    • Copy:

      • Main folder path: C:\Users\YOUR_USERNAME\anaconda3
      • Scripts folder path: C:\Users\YOUR_USERNAME\anaconda3\Scripts
  2. Edit Environment Variables

    • Press Windows + R, type sysdm.cpl, press Enter.
    • Go to Advanced > Environment Variables.
    • Edit the Path variable under System Variables.
    • Add both copied paths.
  3. Restart and Verify

    • Close and reopen PowerShell or CMD.

    • Check:

      conda --version
    • If you see a version number, Conda is working.

Clone this wiki locally