Open krishnaglodha opened 11 months ago
step1:
Invoke-Webrequest -URI https://micro.mamba.pm/api/micromamba/win-64/latest -OutFile micromamba.tar.bz2
step2:
# untar the micromamba.tar.bz2 folder and move exe file to root directory
MOVE -Force micromamba\Library\bin\micromamba.exe micromamba.exe
step3:
# You can use any location as your base prefix
$Env:MAMBA_ROOT_PREFIX="$HOME\micromambaenv"
step4:
# Invoke the hook
.\micromamba.exe shell hook -s powershell | Out-String | Invoke-Expression
step5:
.\micromamba.exe shell init -s powershell -p "$HOME\micromambaenv"
step6:
# create environment from yaml file and activate
micromamba create -f ./test/env_win.yaml -y
micromamba activate geoenv
step1: Download the installer from https://git-scm.com/download/win
step2: Run the Git-2.42.0.2-64-bit
execution file and select next for every option
step3: either use git bash
or your fav terminal (command prompt or powershell)
Click on https option from Code
dropdown and copy the text within.
Now run the following command in the directory you want to clone the repository. In my case it is the following
git clone https://github.com/Rotten-Grapes-Pvt-Ltd/geopython-workshop.git
packages installation and new environment
micromamba create -n myenv python=3.10 matplotlib geopandas jupyterlab rasterio bokeh ipyleaflet -c conda-forge
scratch notes for windows installation. To be moved to readme inside jupyter dir