-
Notifications
You must be signed in to change notification settings - Fork 220
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
GDAL import fails with ImportError: libpoppler.so.71: cannot open shared object file: No such file or directory #10351
Comments
What was the solution for this error? I recently built a new conda environment and ran into this error. Issue occurs when installing geopandas. ImportError: libpoppler.so.76: cannot open shared object file: No such file or directory |
downgrading poppler worked for me (as suggested in #9449 )
|
It did not work for me, I had to install with pip |
Thank you! It work for me。 |
conda install "poppler<0.62" did not work for me! |
It does not work for me either. I get "UnsatisfiableError". |
I'm running into similar problems. With some the libraries I want to install on the environment, |
I found that if I removed conda-forge and used the default channel, I got a version of gdal that used popper<0.62 which worked. But I'm worried that the default channel will get updated at some point and gdal will stop installing. |
If I removed conda-forge and installed geopandas with default (conda installed), it worked for me too! |
This works for me:
|
Addition to the last comment: to reinstall gdal you should use |
@cclarkson can this issue be reopened? I'm not sure why it was closed. I'm seeing the issue as well. |
It works for me ! perfect |
I tried all the above solution and nothing seems to work. A similar error message occurred!
I'm using gdal 3.0.2 on python 3.6, ubuntu 20.04 LTS |
Forcing an upgrade to poppler solves this for me. By default, conda installs poppler-0.89 and gdal-3.0.2. This triggers the libpoppler.so.91 error. Attempting to upgrade poppler in an existing environment ( |
Try |
@SamratSinghRathore thank you, that worked for my configuration. Not sure why it worked, but it did :) |
Hi everybody, I am using Ubuntu 22.04.3 LTS operating system, python 3.11.5 and conda 23.9.0. I tried to run GDAL through the jupyter notebook but i am facing the error as the error displays as follows: --------------------------------------------------------------------------- File ~/anaconda3/envs/jupy/lib/python3.11/importlib/init.py:126, in import_module(name, package) File :1204, in _gcd_import(name, package, level) File :1176, in find_and_load(name, import) File :1147, in find_and_load_unlocked(name, import) File :676, in _load_unlocked(spec) File :573, in module_from_spec(spec) File :1233, in create_module(self, spec) File :241, in _call_with_frames_removed(f, *args, **kwds) ImportError: libpoppler.so.126: cannot open shared object file: No such file or directory During handling of the above exception, another exception occurred: ModuleNotFoundError Traceback (most recent call last) File ~/anaconda3/envs/jupy/lib/python3.11/site-packages/osgeo/init.py:46 File ~/anaconda3/envs/jupy/lib/python3.11/site-packages/osgeo/init.py:43, in swig_import_helper() File ~/anaconda3/envs/jupy/lib/python3.11/importlib/init.py:126, in import_module(name, package) ModuleNotFoundError: No module named '_gdal' Can anyone suggest me how can i solve this problem. Any suggestion will be highly appreciable. |
This one worked for me! I checked typing |
The same issue as found in the closed issue #9449 has started happening again.
ON COMMAND LINE
IN JUPYTER NOTEBOOK
The text was updated successfully, but these errors were encountered: