Re: rasterio ImportError: version `GLIBCXX_3.4.30' not found

Herzmann, Daryl E [AGRON]


How did you install rasterio ? Via conda or pip ? Does `conda list rasterio` show it coming from conda-forge? Which version of Linux is this?


From: <> on behalf of alec.glen.ostrander via <alec.glen.ostrander@...>
Sent: Thursday, May 19, 2022 3:08 PM
Subject: [rasterio] rasterio ImportError: version `GLIBCXX_3.4.30' not found

Hello, I'm struggling to figure out an issue with my installation of rasterio, any help is greatly appreciated!

I've had rasterio installed and working cleanly for a month, but today when I ran my code, I received the following error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/conda/lib/python3.9/site-packages/rasterio/", line 9, in <module>
from rasterio._base import gdal_version
ImportError: /opt/conda/lib/python3.9/site-packages/rasterio/../../.././ version `GLIBCXX_3.4.30' not found (required by /opt/conda/lib/python3.9/site-packages/rasterio/../../.././

I've tried reinstalling a few times without luck, and confirmed that GLIBCXX_3.4.30 does not exist on my machine (I have versions 3.4.1-29). But I'm a bit beyond my depth trying to figure out how to fix it.

Join to automatically receive all group messages.