-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build GRASS GIS in a conda environment on macOS #15
Conversation
This is the first pass in what will likely be an iterative process.
Currently stuck on PDAL.
I'm working through the dependencies in the |
@chaedri @SamKodama This is just to let you know that I'm working on this. |
It looks like there may be an opengl library on conda-forge, but I'm trying without it first.
Otherwise `configure` dumps some results in the calling directory.
I've got this working on macOS, but not on Linux (failing on |
@SamKodama I think I've got this working on macOS. If you have a chance to try it, let me know if it works for you. |
@mdpiper I was successfully able to create the environment with the .yml file. I don't have mamba so I used conda. I was not able to install grass and received the following output/error Should I install mamba and try again using mamba instead of conda? |
@SamKodama Line 167 of your output is suspect because we shouldn't be looking for proj in |
Okay, sounds good. Thank you! |
Awesome! I haven't tested but it looks good. I found another repo in our lab that installs GRASS inside a conda environment (for our institutional HPC): https://github.com/ncsu-geoforall-lab/grass-gis-on-hpc-henry2/ @cmbarton might also be helpful here - I think he builds the Mac binaries for GRASS with a conda environment. |
@chaedri The GRASS conda package is from @mcflugen. :) It's out of date, though, and I don't have time now to update it. |
Yes, that is out of date, the latest version is at https://github.com/nilason/grass-conda |
I'm going to merge this PR, recognizing that it's a step to a solution--I haven't got it working on Linux, and haven't tried on Windows. |
I'm planning on trying to test this over the summer, once I get back to the US. As part of a new NSF grant for GRASS, the GRASS team would like to try to get GRASS as a Conda package for all platforms. So any help in doing this would be greatly appreciated. There is also parallel work going on to make GRASS compatible with Jupyter notebooks. |
This PR is an attempt to build GRASS GIS in an isolated conda environment, using only packages from conda-forge, not the OS.
This addresses #14.