-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
PROJ.4 data directory not found #29
Comments
@snowman2 should we bring the |
What version of pyproj? |
What version of proj? How was it installed? |
@snowman2 The failing travis job is linked above. It is installed with conda (with conda-forge packages obviously) and installs pyproj 2.0.1. Edit: We are using astropy's ci-helpers but that is just a wrapper around conda to map environment variable lists of packages to conda commands. |
Also, version of proj? What is PROJ_LIB? |
As listed in the linked to travis job above:
|
Apologies for the short questions. I was rushing out the door and attempting to assist you on my personal time with my phone. So, I appreciate you adding the information requested directly in the issue to help me to help you debug this. I think the most telling piece will be what you have |
The datadir code has changed quite a bit (see this file), so if there is an issue with the code itself, it will likely need to be an upstream fix. |
I am not setting |
|
So, pyproj=2.* only works with PROJ version 6.0.0. So, that may be part if the issues you have. If you have a need for an earlier version of PROJ in conda, there are wheels for pyproj you can install with pip that should not conflict with older versions of PROJ. |
I'm confused. We are using pyproj 2+ and don't care about the version of PROJ C but the one being installed by conda is 6.0.0. |
Everything works fine on my end:
|
I bet it has to do with |
Hm I'm having trouble installing pyproj 2.0+ with rasterio on OSX (it only wants to do pyproj 1.9.6). I'm guessing they can't be installed together right now due to gdal rebuilds being needed? Edit: Oops 'rasterio' isn't needed for these tests. |
If you are installing it with GDAL, then yes, that is likely the issue. That is what I was referring to for using pip wheels. So, you can try |
Just mentioned in my edit, I was reading the dependencies wrong. I don't need rasterio. |
I have an idea. I think |
That seems to have helped (and deactivate and activate after creating the environment): https://travis-ci.org/pytroll/pytroll-schedule/builds/505823076?utm_source=github_status&utm_medium=notification |
Recent versions of |
Looks like the most recent version of miniconda uses 4.5.12 but on my system I see at least 4.6.8 is available. I'll see if I can ask the |
If I had to guess I'd say it's this version (4.6.3): https://github.com/conda/conda/blob/master/CHANGELOG.md#463-2019-02-07 |
Yep, |
I've made a pull request to fix the ci-helpers issue of not using a recent version of conda (so not re-activating the env vars), but @snowman2 does conda-forge's gdal/libgdal/rasterio need a rebuild to work with the current build of pyproj/proj? Edit: I meant to say, I am still unable to get pyproj 2.0+ on a conda-forge environment (with no PyPI wheels) on OSX. |
It does. |
@djhoese can we close this one? |
The changes to |
No but there is a PR for that SciTools/cartopy#1289 |
New travis environments are failing with messages like:
See https://travis-ci.org/pytroll/pytroll-schedule/jobs/505465801#L1073 for details.
If this isn't something simple that we're doing dumb, I will try to find more information tomorrow.
The text was updated successfully, but these errors were encountered: