You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to import fiona from defaults (unless I constrain the version of poppler), whereas I can from conda-forge (as long as I make sure gdal is also from conda-forge).
defaults
$ conda create -n popplertest python=3.6
Solving environment: done
## Package Plan ##
environment location: /cio/mc3/envs/popplertest
added / updated specs:
- python=3.6
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2018.4.16 | py36_0 142 KB
The following NEW packages will be INSTALLED:
ca-certificates: 2018.03.07-0
certifi: 2018.4.16-py36_0
libedit: 3.1.20170329-h6b74fdf_2
libffi: 3.2.1-hd88cf55_4
libgcc-ng: 7.2.0-hdf63c60_3
libstdcxx-ng: 7.2.0-hdf63c60_3
ncurses: 6.1-hf484d3e_0
openssl: 1.0.2o-h20670df_0
pip: 10.0.1-py36_0
python: 3.6.5-hc3d631a_2
readline: 7.0-ha6073c6_4
setuptools: 39.1.0-py36_0
sqlite: 3.23.1-he433501_0
tk: 8.6.7-hc745277_3
wheel: 0.31.1-py36_0
xz: 5.2.4-h14c3975_4
zlib: 1.2.11-ha838bed_2
Proceed ([y]/n)? y
Downloading and Extracting Packages
certifi-2018.4.16 | 142 KB | : 100% 1.0/1 [00:00<00:00, 8.16it/s]
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate popplertest
#
# To deactivate an active environment, use
#
# $ conda deactivate
$ conda activate popplertest
(popplertest)$ conda install poppler fiona
Solving environment: done
## Package Plan ##
environment location: /cio/mc3/envs/popplertest
added / updated specs:
- fiona
- poppler
The following packages will be downloaded:
package | build
---------------------------|-----------------
poppler-data-0.4.9 | 0 3.5 MB
click-plugins-1.0.3 | py36_0 9 KB
cligj-0.4.0 | py36_0 14 KB
------------------------------------------------------------
Total: 3.6 MB
The following NEW packages will be INSTALLED:
blas: 1.0-mkl
bzip2: 1.0.6-h14c3975_5
cairo: 1.14.12-h8948797_3
click: 6.7-py36h5253387_0
click-plugins: 1.0.3-py36_0
cligj: 0.4.0-py36_0
curl: 7.60.0-h84994c4_0
expat: 2.2.5-he0dffb1_0
fiona: 1.7.10-py36h48a52f0_0
fontconfig: 2.13.0-h9420a91_0
freetype: 2.9.1-h8a8886c_0
freexl: 1.0.5-h14c3975_0
gdal: 2.2.2-py36hc209d97_1
geos: 3.6.2-heeff764_2
giflib: 5.1.4-h26a3ec6_1
glib: 2.56.1-h000015b_0
hdf4: 4.2.13-h3ca952b_2
hdf5: 1.10.1-h9caa474_1
icu: 58.2-h9c2bf20_1
intel-openmp: 2018.0.0-8
jpeg: 9b-h024ee3a_2
json-c: 0.12.1-ha6a3662_2
kealib: 1.4.7-h79811e5_5
krb5: 1.16-h3f6afd0_6
libboost: 1.65.1-habcd387_4
libcurl: 7.60.0-h1ad7b7a_0
libdap4: 3.19.0-h5bd89bb_2
libgdal: 2.2.2-h804cdde_1
libgfortran-ng: 7.2.0-hdf63c60_3
libkml: 1.3.0-h9d32c78_3
libnetcdf: 4.4.1.1-h816af47_8
libpng: 1.6.34-hb9fc6fc_0
libpq: 10.3-h1ad7b7a_0
libspatialite: 4.3.0a-h72746d6_18
libssh2: 1.8.0-h9cfc8f7_4
libtiff: 4.0.9-he85c1e1_1
libuuid: 1.0.3-h1bed415_2
libxcb: 1.13-h1bed415_1
libxml2: 2.9.8-h26e45fe_1
mkl: 2018.0.2-1
mkl_fft: 1.0.1-py36h3010b51_0
mkl_random: 1.0.1-py36h629b387_0
munch: 2.3.2-py36_0
numpy: 1.14.3-py36hcd700cb_1
numpy-base: 1.14.3-py36h9be14a7_1
openjpeg: 2.3.0-h05c96fa_1
pcre: 8.42-h439df22_0
pixman: 0.34.0-hceecf20_3
poppler: 0.65.0-h581218d_1
poppler-data: 0.4.9-0
proj4: 4.9.3-hc8507d1_7
shapely: 1.6.4-py36h0c48222_0
six: 1.11.0-py36h372c433_1
xerces-c: 3.2.1-hac72e42_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
poppler-data-0.4.9 | 3.5 MB | : 100% 1.0/1 [00:00<00:00, 1.06it/s]
click-plugins-1.0.3 | 9 KB | : 100% 1.0/1 [00:00<00:00, 31.51it/s]
cligj-0.4.0 | 14 KB | : 100% 1.0/1 [00:00<00:00, 26.03it/s]
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(popplertest)$ python -c "import fiona"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/cio/mc3/envs/popplertest/lib/python3.6/site-packages/fiona/__init__.py", line 69, in <module>
from fiona.collection import Collection, BytesCollection, vsi_path
File "/cio/mc3/envs/popplertest/lib/python3.6/site-packages/fiona/collection.py", line 9, in <module>
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: libpoppler.so.71: cannot open shared object file: No such file or directory
(popplertest)$ ls -l /cio/mc3/envs/popplertest/lib/*poppler*
lrwxrwxrwx 1 ceball ceball 23 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler-cpp.so -> libpoppler-cpp.so.0.5.0
lrwxrwxrwx 1 ceball ceball 23 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler-cpp.so.0 -> libpoppler-cpp.so.0.5.0
-rwxrwxr-x 2 ceball ceball 123312 May 25 16:17 /cio/mc3/envs/popplertest/lib/libpoppler-cpp.so.0.5.0
lrwxrwxrwx 1 ceball ceball 24 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler-glib.so -> libpoppler-glib.so.8.9.0
lrwxrwxrwx 1 ceball ceball 24 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler-glib.so.8 -> libpoppler-glib.so.8.9.0
-rwxrwxr-x 2 ceball ceball 488400 May 25 16:17 /cio/mc3/envs/popplertest/lib/libpoppler-glib.so.8.9.0
lrwxrwxrwx 1 ceball ceball 20 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler.so -> libpoppler.so.76.0.0
lrwxrwxrwx 1 ceball ceball 20 May 28 15:39 /cio/mc3/envs/popplertest/lib/libpoppler.so.76 -> libpoppler.so.76.0.0
-rwxrwxr-x 1 ceball ceball 3056976 May 28 15:38 /cio/mc3/envs/popplertest/lib/libpoppler.so.76.0.0
(popplertest)$ conda deactivate
If I install an older version of poppler, things seem to be ok:
I can't seem to import fiona from defaults (unless I constrain the version of poppler), whereas I can from conda-forge (as long as I make sure gdal is also from conda-forge).
defaults
If I install an older version of poppler, things seem to be ok:
conda-forge
If I don't specify gdal, it ends up coming from defaults, so same problem:
conda info:
The text was updated successfully, but these errors were encountered: