Skip to content
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

Are gdal and pytables incompatible? #215

Closed
emthompson-usgs opened this issue Jul 25, 2018 · 3 comments
Closed

Are gdal and pytables incompatible? #215

emthompson-usgs opened this issue Jul 25, 2018 · 3 comments

Comments

@emthompson-usgs
Copy link

emthompson-usgs commented Jul 25, 2018

Issue:
Hi @ocefpaf, thanks for the info and help with #213. I've been trying to resolve this issue by restricting to only conda forge channels but conda seems to reach out to defaults anyway. I think I narrowed it down to a problem with the interacting dependencies of gdal and pytables. Since it looks like you are also a maintainer of both packages I thought you would potentially be able to help.

I've taken the example you used in #213 and added pytables:

conda create -y -n GDALTABLES -c conda-forge python=3.5 gdal pytables 
conda activate GDALTABLES
python -c 'from osgeo import osr'

which gives the same error as before.


Environment (conda list):
$ conda list
blosc                     1.14.0                        1    conda-forge
boost-cpp                 1.67.0               h3a22d5f_0    conda-forge
bzip2                     1.0.6                         1    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
cairo                     1.14.12              he56eebe_3    conda-forge
certifi                   2018.4.16                py35_0    conda-forge
clangdev                  6.0.0                 default_0    conda-forge
curl                      7.60.0               h93b3f91_0    conda-forge
expat                     2.2.5                hfc679d8_1    conda-forge
fontconfig                2.13.0               h074f895_3    conda-forge
freetype                  2.8.1                         0    conda-forge
freexl                    1.0.5                hf837533_1    conda-forge
gdal                      2.2.4                    py35_0    conda-forge
geos                      3.6.2                hfc679d8_2    conda-forge
gettext                   0.19.8.1                      0    conda-forge
giflib                    5.1.4                h470a237_0    conda-forge
glib                      2.55.0                        0    conda-forge
hdf4                      4.2.13                        0    conda-forge
hdf5                      1.10.1                        2    conda-forge
icu                       58.2                 hfc679d8_0    conda-forge
intel-openmp              2018.0.3                      0
jpeg                      9c                   h470a237_0    conda-forge
json-c                    0.13.1               h470a237_0    conda-forge
kealib                    1.4.8                hfc679d8_0    conda-forge
krb5                      1.14.6                        0    conda-forge
libcurl                   7.61.0               hf30b1f0_0
libcxx                    6.0.0                         0    conda-forge
libdap4                   3.19.1                        0    conda-forge
libffi                    3.2.1                         3    conda-forge
libgdal                   2.2.4                h390fe88_1
libgfortran               3.0.1                h93005f0_2
libiconv                  1.15                 h470a237_1    conda-forge
libkml                    1.3.0                hccc92b1_8    conda-forge
libnetcdf                 4.4.1.1                      10    conda-forge
libopenblas               0.2.20               hdc02c5d_7
libpng                    1.6.34               ha92aebf_1    conda-forge
libpq                     10.3                 hf30b1f0_0
libspatialite             4.3.0a              h0a2fa02_18
libssh2                   1.8.0                h5b517e9_2    conda-forge
libtiff                   4.0.9                he6b73bb_1    conda-forge
libxml2                   2.9.8                h422b904_2    conda-forge
llvm-meta                 6.0.0                         0    conda-forge
llvmdev                   6.0.0                 default_4    conda-forge
mkl                       2018.0.3                      1
mkl_fft                   1.0.4                    py35_0    conda-forge
mkl_random                1.0.1                    py35_0    conda-forge
ncurses                   6.1                           0    conda-forge
numexpr                   2.6.5                    py35_0    conda-forge
numpy                     1.14.3           py35h9bb19eb_2
numpy-base                1.14.3           py35h7ef55bc_1
openjpeg                  2.3.0                h316dc23_3    conda-forge
openssl                   1.0.2o                        0    conda-forge
pcre                      8.42                 h378b8a2_0
pip                       18.0                     py35_0    conda-forge
pixman                    0.34.0                        2    conda-forge
poppler                   0.67.0               hb55ee21_0    conda-forge
poppler-data              0.4.9                         0    conda-forge
proj4                     4.9.3                         5    conda-forge
pytables                  3.4.4                    py35_8    conda-forge
python                    3.5.5                h5001a0f_2    conda-forge
readline                  7.0                  haf1bffa_1    conda-forge
setuptools                40.0.0                   py35_0    conda-forge
six                       1.11.0                   py35_1    conda-forge
sqlite                    3.24.0               h2f33b56_0    conda-forge
tk                        8.6.8                         0    conda-forge
wheel                     0.31.1                   py35_0    conda-forge
xerces-c                  3.2.1                h5d6a6da_1    conda-forge
xz                        5.2.4                h1de35cc_4
zlib                      1.2.11               h470a237_3    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : GDALTABLES
    active env location : /Users/emthompson/miniconda/envs/GDALTABLES
            shell level : 1
       user config file : /Users/emthompson/.condarc
 populated config files : /Users/emthompson/.condarc
          conda version : 4.5.4
    conda-build version : not installed
         python version : 3.6.5.final.0
       base environment : /Users/emthompson/miniconda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/emthompson/miniconda/pkgs
                          /Users/emthompson/.conda/pkgs
       envs directories : /Users/emthompson/miniconda/envs
                          /Users/emthompson/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Darwin/16.7.0 OSX/10.12.6
                UID:GID : 176539137:176539137
             netrc file : None
           offline mode : False
@ocefpaf
Copy link
Member

ocefpaf commented Jul 25, 2018

They are not incompatible but we are facing some issues at the moment. I'm re-build packages and hopefully this will be sorted out by the end of the day.

@ocefpaf
Copy link
Member

ocefpaf commented Jul 26, 2018

This should be fixed now that pytables was rebuild. Please let me know if that is working for you.

@ocefpaf ocefpaf closed this as completed Jul 26, 2018
@emthompson-usgs
Copy link
Author

Yes, it works now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants