ASFOpenSARlab/opensarlab_MintPy_Recipe_Book

"IndexError: list index out of range", when running "1. Build the opensarlab_mintpy_recipe_book Conda Environment¶"

Closed this issue · 2 comments

Hi,

I installed and activated hyp3-docs, using conda; download opensarlab_MintPy_Recipe_Book github, and navigate to it within anaconda, ran "Jupyter notebook, and ran "1_Software_Environment.ipynb", but I got an error of "list out of range", for the command "conda_yaml_pth = list(Path.cwd().glob(yaml_name))[0]".

Please see the screenshot attached. I highly appreciate your help in resolving the problem;

error

Hi @silentr,

I apologize for not responding sooner! It sounds like you are running this locally. While it was written to run in the OpenSARLab JupyterHub, we would like to support running it on a local computer as well. Can you provide some details about your system and how you are running the notebooks? What operating system are you using? Did you move the notebook to a new directory after cloning the repository? Is there an environment_locked.yaml file in the same directory as the notebook? What is the output if you create a new code cell and run the command !pwd? How about !ls?

@SlientR I am closing this as a stale issue, but please reopen it if you are still having trouble.