open-forest-observatory / geograypher

Multiview Semantic Reasoning with Geospatial Data
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Update readme about adding shared conda environments #85

Closed russelldj closed 3 months ago

russelldj commented 4 months ago

As @youngdjn discovered, the commands on the readme make the shared environment location the default place to install new environments that user creates. This should be addressed in the docs.

russelldj commented 4 months ago

From derek: I guess the solution is to first run:

conda config --append envs_dirs /<path to my user's envs>
conda config --append pkgs_dirs /<path to my user's pkgs>

and then run yours:

conda config --append envs_dirs /ofo-share/repos-david/conda/envs/
conda config --append pkgs_dirs /ofo-share/repos-david/conda/pkgs/

I don't know an automated way to get <path to my user's envs>

youngdjn commented 3 months ago

I updated our CACAO template to run the first two commands above upon instance creation this commit. Therefore, this manual solution should not be needed on newly created VMs. Therefore I opted not to add it to the Readme, since I doubt too many people will encounter this issue with existing VMs, if they haven't already. But if you disagree let me know and I can add it.

russelldj commented 3 months ago

Awesome, thanks for addressing this. I agree we don't need to keep outdated documentation.