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

OSError: libpoppler.so.71: cannot open shared object file: No such file or directory #314

Open
iseka-dev opened this issue Feb 11, 2021 · 1 comment

Comments

@iseka-dev
Copy link

iseka-dev commented Feb 11, 2021

HI!
I am developing a Django app and I want to use django-leaflet to show a map.
I installed django-leaflet and its dependencies (gdal) with conda in the proper env.
Nonetheless, when I add 'leaflet' to my apps then it seems gdal cannot find the poppler library.
I attach the last part of the error.

from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal
File "/home/horacio/anaconda3/envs/epec/lib/python3.6/site-packages/django/contrib/gis/gdal/libgdal.py", line 50, in
lgdal = CDLL(lib_path)
File "/home/horacio/anaconda3/envs/epec/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libpoppler.so.71: cannot open shared object file: No such file or directory

Also, I installed version 0.27.1 that sheems to be the last one on conda and conda-forge repositories, but now I see in this repository that lastest release is 0.20, I question myself if this is related in some way.

Thanks!

packages in environment:

Name Version Build Channel
_libgcc_mutex 0.1 main
_py-xgboost-mutex 2.0 cpu_0
absl-py 0.11.0 pyhd3eb1b0_1
alabaster 0.7.12 py36_0
appdirs 1.4.4 py_0
argh 0.26.2 py36_0
argon2-cffi 20.1.0 py36h7b6447c_1
asgiref 3.3.1 pyhd3eb1b0_0
astor 0.8.1 py36h06a4308_0
astroid 2.4.2 py36_0
async_generator 1.10 py36h28b3542_0
atomicwrites 1.4.0 py_0
attrs 20.3.0 pyhd3eb1b0_0
autopep8 1.5.4 py_0
babel 2.9.0 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
beautifulsoup4 4.9.3 pyha847dfd_0
binutils 2.33.1 h53a641e_7
binutils_impl_linux-64 2.33.1 he6710b0_7
black 19.10b0 py_0
blas 1.0 mkl
bleach 3.3.0 pyhd3eb1b0_0
brotlipy 0.7.0 py36h27cfd23_1003
bs4 4.9.3 hd3eb1b0_0
bzip2 1.0.8 h7b6447c_0
c-ares 1.17.1 h27cfd23_0
ca-certificates 2020.12.5 ha878542_0 conda-forge
cairo 1.16.0 h18b612c_1001 conda-forge
certifi 2020.12.5 py36h5fab9bb_1 conda-forge
cffi 1.14.4 py36h261ae71_0
chardet 4.0.0 py36h06a4308_1003
click 7.1.2 pyhd3eb1b0_0
cloudpickle 1.6.0 py_0
colorama 0.4.4 pyhd3eb1b0_0
cryptography 3.3.1 py36h3c74f83_0
curl 7.71.1 he644dc0_8 conda-forge
cycler 0.10.0 py36_0
dbus 1.13.18 hb2f20db_0
decorator 4.4.2 pyhd3eb1b0_0
defusedxml 0.6.0 pyhd3eb1b0_0
diff-match-patch 20200713 py_0
django 3.1.6 pyhd3eb1b0_0
django-leaflet 0.27.1 pyh9f0ad1d_0 conda-forge
djangorestframework 3.12.2 pyhd8ed1ab_0 conda-forge
docutils 0.16 py36_1
entrypoints 0.3 py36_0
expat 2.2.10 he6710b0_2
flake8 3.8.4 py_0
fontconfig 2.13.1 he4413a7_1000 conda-forge
freetype 2.10.4 h5ab3b9f_0
freexl 1.0.6 h27cfd23_0
fribidi 1.0.10 h7b6447c_0
ftfy 5.5.1 pypi_0 pypi
future 0.18.2 py36_1
gast 0.4.0 py_0
gdal 2.2.2 py36hc209d97_1
geos 3.6.2 heeff764_2
gettext 0.19.8.1 h9b4dc7a_1
giflib 5.1.4 h14c3975_1
glib 2.66.1 h92f7085_0
google-pasta 0.2.0 py_0
graphite2 1.3.14 h23475e2_0
graphviz 2.42.3 h0511662_0 conda-forge
grpcio 1.31.0 py36hf8bcb03_0
gst-plugins-base 1.14.0 h8213a91_2
gstreamer 1.14.0 h28cd5cc_2
h5py 2.8.0 pypi_0 pypi
harfbuzz 2.4.0 hca77d97_1
hdf4 4.2.13 h3ca952b_2
hdf5 1.10.1 h9caa474_1
icu 58.2 he6710b0_3
idna 2.10 pyhd3eb1b0_0
imagesize 1.2.0 pyhd3eb1b0_0
imbalanced-learn 0.7.0 py_1 conda-forge
importlib-metadata 2.0.0 py_1
importlib_metadata 2.0.0 1
intel-openmp 2020.2 254
intervaltree 3.1.0 py_0
ipykernel 5.3.4 py36h5ca1d4c_0
ipython 7.16.1 py36h5ca1d4c_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.3 pyhd3eb1b0_1
isort 5.7.0 pyhd3eb1b0_0
jedi 0.17.2 py36h06a4308_1
jeepney 0.6.0 pyhd3eb1b0_0
jinja2 2.11.3 pyhd3eb1b0_0
joblib 1.0.0 pyhd3eb1b0_0
jpeg 9d h36c2ea0_0 conda-forge
json-c 0.12.1 ha6a3662_2
json5 0.9.5 py_0
jsonschema 3.2.0 py_2
jupyter 1.0.0 py36_7
jupyter_client 6.1.7 py_0
jupyter_console 6.2.0 py_0
jupyter_core 4.7.1 py36h06a4308_0
jupyterlab 2.2.6 py_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 1.2.0 py_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
kealib 1.4.7 h79811e5_5
keras 2.3.1 0
keras-applications 1.0.8 py_1
keras-base 2.3.1 py36_0
keras-preprocessing 1.1.2 pyhd3eb1b0_0
keyring 22.0.1 py36h06a4308_0
kiwisolver 1.3.1 py36h2531618_0
krb5 1.17.1 h173b8e3_0
lazy-object-proxy 1.4.3 py36h27cfd23_2
lcms2 2.11 h396b838_0
ld_impl_linux-64 2.33.1 h53a641e_7
libboost 1.67.0 h46d08c1_4
libcurl 7.71.1 hcdd3856_8 conda-forge
libdap4 3.19.0 h8c95237_1
libedit 3.1.20191231 h14c3975_1
libev 4.33 h7b6447c_0
libffi 3.3 he6710b0_2
libgcc-ng 9.1.0 hdf63c60_0
libgdal 2.2.2 h804cdde_1
libgfortran-ng 7.3.0 hdf63c60_0
libkml 1.3.0 h590aaf7_4
liblief 0.10.1 he6710b0_0
libnetcdf 4.4.1.1 h816af47_8
libnghttp2 1.41.0 hf8bcb03_2
libpng 1.6.37 hbc83047_0
libpq 12.2 h20c2e04_0
libprotobuf 3.14.0 h8c45485_0
libsodium 1.0.18 h7b6447c_0
libspatialindex 1.9.3 he6710b0_0
libspatialite 4.3.0a h72746d6_18
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_1
libtool 2.4.6 h7b6447c_1005
libuuid 2.32.1 h14c3975_1000 conda-forge
libxcb 1.14 h7b6447c_0
libxgboost 1.2.0 he1b5a44_0 conda-forge
libxml2 2.9.10 hb55368b_3
lightgbm 3.1.1 py36h2531618_0
lz4-c 1.9.3 h2531618_0
markdown 3.3.3 py36h06a4308_0
markupsafe 1.1.1 py36h7b6447c_0
matplotlib 3.3.2 h06a4308_0
matplotlib-base 3.3.2 py36h817c723_0
mccabe 0.6.1 py36_1
mistune 0.8.4 py36h7b6447c_0
mkl 2020.2 256
mkl-service 2.3.0 py36he8ac12f_0
mkl_fft 1.2.0 py36h23d657b_0
mkl_random 1.1.1 py36h0573a6f_0
msgpack 0.6.1 pypi_0 pypi
mypy_extensions 0.4.3 py36_0
nbclient 0.5.1 py_0
nbconvert 6.0.7 py36_0
nbformat 5.1.2 pyhd3eb1b0_1
ncurses 6.2 he6710b0_1
nest-asyncio 1.4.3 pyhd3eb1b0_0
notebook 6.2.0 py36h06a4308_0
numpy 1.19.2 py36h54aff64_0
numpy-base 1.19.2 py36hfa32c7d_0
numpydoc 1.1.0 pyhd3eb1b0_1
olefile 0.46 py36_0
openjpeg 2.3.0 h05c96fa_1
openssl 1.1.1i h27cfd23_0
packaging 20.9 pyhd3eb1b0_0
pandas 1.1.3 py36he6710b0_0
pandoc 2.11 hb0f4dca_0
pandocfilters 1.4.3 py36h06a4308_1
pango 1.42.4 h7062337_4 conda-forge
parso 0.7.0 pyh9f0ad1d_0 conda-forge
pathspec 0.7.0 py_0
pathtools 0.1.2 py_1
pcre 8.44 he6710b0_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.1.0 py36he98fc37_0
pip 20.3.3 py36h06a4308_0
pixman 0.38.0 h516909a_1003 conda-forge
plotly 4.14.3 pyhd3eb1b0_0
pluggy 0.13.1 py36_0
poppler 0.81.0 he6a58d2_1
poppler-data 0.4.10 h06a4308_0
proj4 4.9.3 hc8507d1_7
prometheus_client 0.9.0 pyhd3eb1b0_0
prompt-toolkit 3.0.8 py_0
prompt_toolkit 3.0.8 0
protobuf 3.14.0 py36h2531618_1
psutil 5.8.0 py36h27cfd23_1
psycopg2 2.8.6 py36h3c74f83_1
psycopg2-binary 2.8.6 pypi_0 pypi
ptyprocess 0.7.0 pyhd3eb1b0_2
py-lief 0.10.1 py36h403a769_0
py-xgboost 1.2.0 py36h9f0ad1d_0 conda-forge
pycodestyle 2.6.0 pyhd3eb1b0_0
pycparser 2.20 py_2
pydocstyle 5.1.1 py_0
pydot 1.4.1 py36_0
pydotplus 2.0.2 py_3
pyflakes 2.2.0 pyhd3eb1b0_0
pygments 2.7.4 pyhd3eb1b0_0
pylint 2.6.0 py36_0
pyls-black 0.4.6 hd3eb1b0_0
pyls-spyder 0.3.0 pyhd3eb1b0_0
pyopenssl 20.0.1 pyhd3eb1b0_1
pyparsing 2.4.7 pyhd3eb1b0_0
pyqt 5.9.2 py36h05f1152_2
pyrsistent 0.17.3 py36h7b6447c_0
pysocks 1.7.1 py36h06a4308_0
python 3.6.12 hcff3b4d_2
python-dateutil 2.8.1 pyhd3eb1b0_0
python-jsonrpc-server 0.4.0 py_0
python-language-server 0.36.2 pyhd3eb1b0_0
python_abi 3.6 1_cp36m conda-forge
pytz 2021.1 pyhd3eb1b0_0
pyxdg 0.27 pyhd3eb1b0_0
pyyaml 5.4.1 py36h27cfd23_1
pyzmq 20.0.0 py36h2531618_1
qdarkstyle 2.8.1 py_0
qt 5.9.7 h5867ecd_1
qtawesome 1.0.1 py_0
qtconsole 5.0.2 pyhd3eb1b0_0
qtpy 1.9.0 py_0
readline 8.1 h27cfd23_0
regex 2020.11.13 py36h27cfd23_0
requests 2.25.1 pyhd3eb1b0_0
retrying 1.3.3 py36_2
rope 0.18.0 py_0
rtree 0.9.4 py36_1
scikit-learn 0.23.2 py36h0573a6f_0
scipy 1.5.2 py36h0b6359f_0
seaborn 0.11.1 pyhd3eb1b0_0
secretstorage 3.3.0 py36h06a4308_0
selenium 3.141.0 py36h7b6447c_0
send2trash 1.5.0 pyhd3eb1b0_1
setuptools 52.0.0 py36h06a4308_0
sip 4.19.8 py36hf484d3e_0
six 1.15.0 py36h06a4308_0
snowballstemmer 2.1.0 pyhd3eb1b0_0
sortedcontainers 2.3.0 pyhd3eb1b0_0
soupsieve 2.1 pyhd3eb1b0_0
sphinx 3.4.3 pyhd3eb1b0_0
sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-htmlhelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0
sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.4 pyhd3eb1b0_0
spyder 4.2.1 py36h06a4308_1
spyder-kernels 1.10.1 py36h06a4308_0
sqlite 3.33.0 h62c20be_0
sqlparse 0.4.1 py_0
tensorboard 1.14.0 py36_0 conda-forge
tensorflow 1.14.0 hc3e5e64_0 conda-forge
tensorflow-base 1.14.0 py36hc3e5e64_0 conda-forge
tensorflow-estimator 1.14.0 py36h5ca1d4c_0 conda-forge
termcolor 1.1.0 py36_1
terminado 0.9.2 py36h06a4308_0
testpath 0.4.4 pyhd3eb1b0_0
textdistance 4.2.1 pyhd3eb1b0_0
threadpoolctl 2.1.0 pyh5ca1d4c_0
three-merge 0.1.1 pyhd3eb1b0_0
tk 8.6.10 hbc83047_0
toml 0.10.1 py_0
tornado 6.1 py36h27cfd23_0
traitlets 4.3.3 py36_0
typed-ast 1.4.2 py36h27cfd23_1
typing_extensions 3.7.4.3 pyha847dfd_0
ujson 4.0.2 py36h2531618_0
urllib3 1.26.3 pyhd3eb1b0_0
util-linux 2.36 py36hf8b52b0_0 conda-forge
watchdog 1.0.2 py36h06a4308_1
wcwidth 0.2.5 py_0
webencodings 0.5.1 py36_1
werkzeug 1.0.1 pyhd3eb1b0_0
wheel 0.36.2 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py36_0
wrapt 1.11.2 py36h7b6447c_0
wurlitzer 2.0.1 py36_0
xerces-c 3.2.3 h780794e_0
xgboost 1.2.0 py36h831f99a_0 conda-forge
xlrd 2.0.1 pyhd3eb1b0_0
xorg-kbproto 1.0.7 h14c3975_1002 conda-forge
xorg-libice 1.0.10 h516909a_0 conda-forge
xorg-libsm 1.2.3 h84519dc_1000 conda-forge
xorg-libx11 1.6.12 h516909a_0 conda-forge
xorg-libxext 1.3.4 h516909a_0 conda-forge
xorg-libxpm 3.5.13 h516909a_0 conda-forge
xorg-libxrender 0.9.10 h516909a_1002 conda-forge
xorg-libxt 1.1.5 h516909a_1003 conda-forge
xorg-renderproto 0.11.1 h14c3975_1002 conda-forge
xorg-xextproto 7.3.0 h14c3975_1002 conda-forge
xorg-xproto 7.0.31 h27cfd23_1007
xz 5.2.5 h7b6447c_0
yaml 0.2.5 h7b6447c_0
yapf 0.30.0 py_0
zeromq 4.3.3 he6710b0_3
zipp 3.4.0 pyhd3eb1b0_0
zlib 1.2.11 h7b6447c_3
zstd 1.4.5 h9ceee32_0

@Gagaro
Copy link
Member

Gagaro commented Feb 15, 2021

Latest release is indeed 0.27.1 (https://pypi.org/project/django-leaflet/).

This seems related to your issue: conda-forge/gdal-feedstock#193.

I don't use conda so I don't know what you can do to fix that. Maybe try installing libpoppler manually?

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