I'm using Spyder with Anaconda and since MacOS last update (Big Sur 11.0.1), when doing
import geopandas
, I get the following error:
OSError: Could not find lib c or load any of its variants [].
There are several subjects on the matter (particularly this one and this one), that mainly recommends to reset the environment variable DYLD_FALLBACK_LIBRARY_PATH
by putting in the Terminal:
export DYLD_FALLBACK_LIBRARY_PATH=$(HOME)/lib:/usr/local/lib:/lib:/usr/lib
However, here is what I get:
-bash: HOME: command not found
A brew
or pip
install didn't fix the problem either.
Does anyone have an idea on how I can fix this? Am I suppose to replace $(HOME)
by something?
Many thanks!
I had the same error and fixed it just by reinstalling Shapely:
pip install --upgrade --force-reinstall shapely
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With