-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Issue:
Installing rasterio works but it fails on import.
I've tried:
conda create --yes -n just_rio py>3.6 && conda activate just_rio && conda install -c conda-forge rasterio
Then i try to import rasterio and get
>>> import rasterio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/anaconda3/envs/earth-analytics-python/lib/python3.7/site-packages/rasterio/__init__.py", line 22, in <module>
from rasterio._base import gdal_version
ImportError: dlopen(/anaconda3/envs/earth-analytics-python/lib/python3.7/site-packages/rasterio/_base.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libgif.7.dylib
Referenced from: /anaconda3/envs/earth-analytics-python/lib/libgdal.20.dylib
Reason: image not found
I also noticed that the builds seem to be failing on circle-ci.
Environment (conda list):
I have tried in my usual environment but also please see above. i tried to JUST Install rasterio via conda and it still failed.
Details
$ conda list
# packages in environment at /anaconda3/envs/just_rio:
#
# Name Version Build Channel
affine 2.2.2 py_0 conda-forge
asn1crypto 0.24.0 py37_1003 conda-forge
attrs 19.1.0 py_0 conda-forge
blas 2.1 openblas conda-forge
boost-cpp 1.68.0 h6f8c590_1000 conda-forge
boto3 1.9.115 py_0 conda-forge
botocore 1.12.115 py_0 conda-forge
bzip2 1.0.6 h1de35cc_1002 conda-forge
ca-certificates 2019.3.9 hecc5488_0 conda-forge
cairo 1.16.0 h9247486_1000 conda-forge
certifi 2019.3.9 py37_0 conda-forge
cffi 1.12.2 py37h2d6ddff_1 conda-forge
click 7.0 py_0 conda-forge
click-plugins 1.0.4 py_0 conda-forge
cligj 0.5.0 py_0 conda-forge
cryptography 2.6.1 py37hc2b1221_0 conda-forge
curl 7.64.0 ha441bb4_2
docutils 0.14 py37_1001 conda-forge
expat 2.2.5 h0a44026_1002 conda-forge
fontconfig 2.13.1 h1027ab8_1000 conda-forge
freetype 2.9.1 h597ad8a_1005 conda-forge
freexl 1.0.5 h1de35cc_1002 conda-forge
geos 3.7.1 h0a44026_1000 conda-forge
geotiff 1.4.3 hce09ea4_1000 conda-forge
gettext 0.19.8.1 hcca000d_1001 conda-forge
giflib 5.1.7 h01d97ff_0 conda-forge
glib 2.58.3 h2836805_1001 conda-forge
hdf4 4.2.13 hf3c6af0_1002 conda-forge
hdf5 1.10.4 nompi_h646315f_1105 conda-forge
icu 58.2 h0a44026_1000 conda-forge
idna 2.8 py37_1000 conda-forge
jmespath 0.9.4 py_0 conda-forge
jpeg 9c h1de35cc_1001 conda-forge
json-c 0.13.1 h1de35cc_1001 conda-forge
kealib 1.4.10 hf5ed860_1002 conda-forge
krb5 1.16.1 hddcf347_7
libblas 3.8.0 1_openblas conda-forge
libcblas 3.8.0 1_openblas conda-forge
libcurl 7.64.0 h051b688_2
libcxx 4.0.1 hcfea43d_1
libcxxabi 4.0.1 hcfea43d_1
libdap4 3.19.1 hae55d67_1000 conda-forge
libedit 3.1.20181209 hb402a30_0
libffi 3.2.1 h475c297_4
libgdal 2.4.0 h947adae_1003 conda-forge
libgfortran 3.0.1 0 conda-forge
libiconv 1.15 h1de35cc_1004 conda-forge
libkml 1.3.0 h71ee1b2_1009 conda-forge
liblapack 3.8.0 1_openblas conda-forge
liblapacke 3.8.0 1_openblas conda-forge
libnetcdf 4.6.2 h6b88ef6_1001 conda-forge
libopenblas 0.3.3 hdc02c5d_3
libpng 1.6.36 ha441bb4_1000 conda-forge
libpq 11.2 h051b688_0
libspatialite 4.3.0a h0cd9627_1026 conda-forge
libssh2 1.8.0 hb1dc21d_1004 conda-forge
libtiff 4.0.10 h79f4b77_1001 conda-forge
libxml2 2.9.8 hf14e9c8_1005 conda-forge
ncurses 6.1 h0a44026_1
numpy 1.16.2 py37h926163e_0
numpy-base 1.16.2 py37ha711998_0
openblas 0.3.5 h436c29b_1001 conda-forge
openjpeg 2.3.0 h3bf0609_1003 conda-forge
openssl 1.1.1b h1de35cc_1 conda-forge
pcre 8.41 h0a44026_1003 conda-forge
pip 19.0.3 py37_0
pixman 0.34.0 h1de35cc_1003 conda-forge
poppler 0.67.0 hb974355_6 conda-forge
poppler-data 0.4.9 1 conda-forge
postgresql 11.2 h051b688_0
proj4 5.2.0 h1de35cc_1001 conda-forge
py 1.8.0 py37_0
pycparser 2.19 py37_1 conda-forge
pyopenssl 19.0.0 py37_0 conda-forge
pyparsing 2.3.1 py_0 conda-forge
pysocks 1.6.8 py37_1002 conda-forge
python 3.7.2 haf84260_0
python-dateutil 2.8.0 py_0 conda-forge
rasterio 1.0.18 py37h3683dd5_0 conda-forge
readline 7.0 h1de35cc_5
s3transfer 0.2.0 py37_0 conda-forge
setuptools 40.8.0 py37_0
six 1.12.0 py37_1000 conda-forge
snuggs 1.4.3 py_0 conda-forge
sqlite 3.27.2 ha441bb4_0
tk 8.6.8 ha441bb4_0
urllib3 1.24.1 py37_1000 conda-forge
wheel 0.33.1 py37_0
xerces-c 3.2.2 h44e365a_1001 conda-forge
xz 5.2.4 h1de35cc_4
zlib 1.2.11 h1de35cc_3
Details about
conda and system ( conda info ):
Details
$ conda info
active environment : just_rio
active env location : /anaconda3/envs/just_rio
shell level : 2
user config file : /Users/leahwasser/.condarc
populated config files :
conda version : 4.5.12
conda-build version : 3.17.6
python version : 3.7.1.final.0
base environment : /anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/osx-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/osx-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /anaconda3/pkgs
/Users/leahwasser/.conda/pkgs
envs directories : /anaconda3/envs
/Users/leahwasser/.conda/envs
platform : osx-64
user-agent : conda/4.5.12 requests/2.21.0 CPython/3.7.1 Darwin/18.2.0 OSX/10.14.3
UID:GID : 502:20
netrc file : None
offline mode : False
pinging my colleague @mbjoseph as well on this.
Metadata
Metadata
Assignees
Labels
No labels