Installing rsgislib from -c conda-forge

338 views
Skip to first unread message

Felipe Dantas

unread,
Dec 5, 2017, 9:26:46 AM12/5/17
to RSGISLib Support
Hello

Firstly, I am a novice user.
When I try to install rsgislib on the conda-forge channel, it gives me the following message:

UnsatisfiableError: The following specifications were found to be in conflict:
  - rsgislib
Use "conda info <package>" to see the dependencies for each package.

I used the following command to install:

conda create -n test -c conda-forge rsgislib

The version of my conda is: 4.3.29
How can I install the latest stable version of rsgislib?

Regards

Daniel Clewley

unread,
Dec 5, 2017, 3:20:15 PM12/5/17
to Felipe Dantas, RSGISLib Support
Hi Felipe,

The conda-forge builds are broken at the moment there is currently a pull request open to fix them:


You might be able to install from the development channel using:

conda create -n rsgislib_dev -c conda-forge -c au-eoed rsgislib

Thanks,

Dan

--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.

Felipe Dantas

unread,
Dec 6, 2017, 12:11:32 PM12/6/17
to RSGISLib Support
Hi Dan

By the "au-eoed" channel everything goes well.
However, when importing GDAL through the Python terminal the following error appears!

(geobia) labgeo@labgeopc:~$ python
Python 3.5.4 |Anaconda, Inc.| (default, Nov  9 2017, 00:39:12) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rsgislib
>>> import sklearn
>>> import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/labgeo/miniconda3/envs/geobia/lib/python3.5/site-packages/gdal.py", line 2, in <module>
    from osgeo.gdal import deprecation_warn
  File "/home/labgeo/miniconda3/envs/geobia/lib/python3.5/site-packages/osgeo/__init__.py", line 21, in <module>
    _gdal = swig_import_helper()
  File "/home/labgeo/miniconda3/envs/geobia/lib/python3.5/site-packages/osgeo/__init__.py", line 17, in swig_import_helper
    _mod = imp.load_module('_gdal', fp, pathname, description)
  File "/home/labgeo/miniconda3/envs/geobia/lib/python3.5/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/home/labgeo/miniconda3/envs/geobia/lib/python3.5/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: /home/labgeo/miniconda3/envs/geobia/lib/python3.5/site-packages/osgeo/../../../libgdal.so.20: undefined symbol: _ZN11xercesc_3_211InputSource11setEncodingEPKDs
>>> 

Felipe Dantas

unread,
Dec 10, 2017, 8:13:21 AM12/10/17
to RSGISLib Support
Hi all

Can someone please help me solve this problem.

To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-support+unsubscribe@googlegroups.com.
To post to this group, send email to rsgislib-support@googlegroups.com.

Daniel Clewley

unread,
Dec 10, 2017, 8:40:52 AM12/10/17
to Felipe Dantas, RSGISLib Support
Hi Felipe,

You can try:

conda update --all

Best option is to wait for the conda-builds to be fixed, we’re working on it but not quite sure what is going wrong with them.

Thanks,

Dan
Reply all
Reply to author
Forward
0 new messages