-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
ImportError: libicui18n.so.56 and/or libicui18n.so.58 when importing fiona (geopandas) #21
Comments
It looks like you have the usual "multiple channes" problem. Please take a look at http://conda-forge.github.io/docs/conda-forge_gotchas.html#using-multiple-channels and let us know if that fixes it for you. (Closing this for now but feel free to ask further questions here in case you are in doubt.) |
I tried to fix it using Do you any other idea of what that might be ? let me know if you need some more info on my system |
Update: creating a new conda env seems to solve the issue. I will let you know if this is not the case. |
I have exact the same problem. Creating a new environment works, but i really hope there could be a fix without creating a new env. The new environment takes a lot space (2GB) ... |
There is no way around it because those extra packages are the ones you need to be compatible with the package you are requesting from |
Yes, I am using anaconda. The duplicated packages in Anaconda indeed take my disk space. Glad to know these features of miniconda. Thanks ocefpaf! |
Hello, |
It should, you installed the whole anaconda distro there 😄 Please read http://conda-forge.github.io/docs/conda-forge_gotchas.html#using-multiple-channels with care and note that the reason for isolating into envs and preferring the conda-forge channels when using conda-forge packages is to avoid conflicts with the anaconda distribution. |
So I read the multiple channels link.
and I still get the error. What the heck am I doing wrong? |
@kyle-sama seems like you did everything right 😕 Can you send the results of |
Hi, Fiona==1.7.9 Using a python 3.5 env and install geopandas using
|
I am locking this thread b/c people keep finding it with Google but they are not really reading everything in here. First I recommend to go to conda-forge's docs to understand the issue. https://conda-forge.org/docs/conda-forge_gotchas.html Then try what is recommended in the docs: conda create --yes --name TEST geopandas
source activate TEST
python -c "import geopandas; print(geopandas.__version__)" that proves the package works in the right conditions. Any other third party channel mixing and/or pre-installed packages in an env, like the Anaconda distribution, is not guaranteed to work! |
Hi,
I'm using anaconda on Ubuntu 16.04 (xenial Xerus) on EC2.
After installing anaconda I install geopandas with:
conda install geopandas --channel conda-forge
That works great but I then go to a jupyter notebook and try to import geopandas but get :
This has to do with the fiona package that requires libicui18n.so.56. When I type
conda search icu --channel conda-forge
I do get that it is the 54 version which is installed (with a *) and I therefore use
conda install icu=56.1 --channel conda-forge
and that installs a entire set of packages (and downgrade python from 3.6 and 3.5) when this is done, my import error gives me:
ImportError: libicui18n.so.58: cannot open shared object file: No such file or directory
It seems like fiona is requiring both 56 and 58 version of icu. When I switch to 58 then 56 is missing ...
Do you have any idea of what is going wrong there and what I could do to fix this?
Thanks,
The text was updated successfully, but these errors were encountered: