-
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 #9449
Comments
I can confirm this also breaks fiona / geopandas (using gdal under the hood of course) in a fresh environment:
|
Thanks for reporting. One or more of our constraints appears to be too loose or incorrectly pinned. We'll investigate how this is happening. |
Indeed, poppler changed its soname at 0.62, and our libgdal package was built with 0.60.1, with a constraint for only the next major version. We'll rebuild our libgdal package. |
I'm new to Python but I guess I have the same error:
The output of my
|
We are working on updating and rebuilding gdal today. For now, if you manually downgrade poppler with
you should be back up and running |
Any updates on this? |
We have been delayed by the Anaconda 5.2 release. We will be hotfixing our index metadata tonight or tomorrow to correct the immediate problem, and working to rebuild the stack properly soon. |
This seems to be fixed now. |
BROKEN!!!!! |
Also broken for me. |
Please open a new issue with the information requested by the issue template. |
I'm having a similar issue with python gdal 3.0.2 on ubuntu
|
also have the same issue with py3.8, rasterio1.2.10 in the year of 2023 |
Hello everybody, i am new to the python and linux machine. I am using Ubuntu 22.04.3 LTS operating system, Python 3.11.5 and Conda 23.9.0. While i tried to setup python libraries to run in jupyter notebook i face some serious error as mentioned by other people earlier. I tried to setup GDAL libraries. But i faced error as follows: ImportError Traceback (most recent call last) 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 help me to get rid of this problem, i already spend at least 5 days to figure out this problem in my linux machine but its not working for me and i am running out of time for my work. |
Actual Behavior
The import of
gdal
fails since a day or two (as part of Travis CI testing using the latest anaconda):Expected Behavior
No errors.
Steps to Reproduce
Anaconda or Miniconda version:
4.5.4
Operating System:
Ubuntu (Travis CI)
conda info
conda list --show-channel-urls
See above.
The text was updated successfully, but these errors were encountered: