-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Remove the need for the GDAL_DATA environment variable #35
Comments
Do we know why this isn't set in the _test environment? Should it be fixed in conda instead? |
I just checked a fresh install and I notice that we have a bug conda create --name GDAL --channel conda-forge python=2.7 gdal=1.11.4
source activate GDAL
echo $GDAL_DATA
/home/filipe/miniconda/pkgs/libgdal-2.0.0-0/share/gdal That directory does not exist. I will take a closer look at this. |
Seems fine for me. Do you have $GDAL_DATA set outside of Conda? The activate script won't change it if you have (perhaps it should?). |
Nope. As you can see installed |
On my machine I get a different result:
Which seems correct, so that's why I was wondering if you had $GDAL_DATA set elsewhere maybe in your ~/.bashrc? |
I was going to answer: I never set variables in my export GDAL_DATA=$HOME/miniconda/pkgs/libgdal-2.0.0-0/share/gdal since last SciPy and the geo-processing tutorial! So... Sorry 😳 @pelson I guess |
It is causing us to have to workaround the problem elsewhere, and would be nice to avoid if possible (even if it means a patch).
Not a huge priority, but it would be helpful to keep a list of places that the GDAL_DATA information has leaked out of this feedstock:
The text was updated successfully, but these errors were encountered: