Windows installation using a conda lock file#
If you’re having trouble running the landsat notebook from the environment created by environment.yml, try these steps to reproduce exactly the working environment I have in windows.
Close all your anaconda terminal windows and in
settings-> add or remove programsremove miniconda3.Open explorer and go to Home and search for miniconda3. You should not see a miniconda3 folder in your
c:\Users\usernamefolder. If you do see it, remove that folder.Install the latest version of miniconda from https://www.anaconda.com/download (Note that you can skip registration if you want).
Check under
add remove programsto make sure you seeMiniconda3 py312_24.11.1-0Download my environment_windows.yml file. Google drive seems to think it’s an audio file, but it’s just plain text. You can look at it here. Note that unlike
environment.yml, it skips the solver and uses the exact file list from mya301environment.Move the
environment_windows.ymlfile to your~/repos/a301folder, and create a newa301environment by opening an anaconda terminal and typing:
cd ~/repos/a301
conda env create -n a301 -f environment_windows.yml
conda activate a301
Start
jupyter laband run theget_landsat_bands.ipynbnotebook. Note that the new environment includesearthaccessetc., so no need to install those. Report any issues on piazza.