Hi Dan, 

I've got the same installed packages as yours. However, the same error 
message popped up during importing GDAL and RSGISLIB.

In addition, I tried Dr. Pete's approach. This step "conda install -c 
conda-forge -c rios rsgislib " might cause some conflict issue between ICU 
and GDAL (see attached pls), but I am not sure about it. 

Any suggestion or comment would be greatly appreciated. 

Thanks,
John


On Tuesday, February 7, 2017 at 2:27:27 PM UTC-6, Dan Clewley wrote:
>
> Hi John,
>
> Installing the dev version using the command posted below worked fine for 
> me on my mac. Below is a list of packages I have installed.
>
> I noticed you had quite a few extra packages - I would recommend just 
> installing RSGISLib first, seeing if this works then installing extra 
> packages to see what is causing the problem.
>
> Thanks,
>
> Dan
>
>
> rsgislib                  3.2.1301                 py35_1    au-eoed
> boost                     1.61.0                   py35_0
> ca-certificates           2016.9.26                     0    conda-forge
> certifi                   2017.1.23                py35_0    conda-forge
> cgal                      4.8.1                    py35_1    conda-forge
> curl                      7.52.1                        0    conda-forge
> expat                     2.1.0                         2    conda-forge
> freexl                    1.0.2                         1    conda-forge
> gdal                      2.1.2               np111py35_1    conda-forge
> geos                      3.4.2                         2    conda-forge
> giflib                    5.1.4                         0    conda-forge
> gmp                       6.1.2                         0    conda-forge
> gsl                       2.1                           2    conda-forge
> hdf4                      4.2.12                        0    conda-forge
> hdf5                      1.8.17                        9    conda-forge
> icu                       58.1                          0    conda-forge
> jpeg                      9b                            0    conda-forge
> json-c                    0.12                          0    conda-forge
> kealib                    1.4.6                         3    conda-forge
> libdap4                   3.18.3                        2    conda-forge
> libgfortran               3.0.0                         0    conda-forge
> libiconv                  1.14                          4    conda-forge
> libnetcdf                 4.4.1.1                       2    conda-forge
> libpng                    1.6.28                        0    conda-forge
> libpq                     9.5.4                         3    conda-forge
> libspatialite             4.3.0a                       11    conda-forge
> libtiff                   4.0.6                         7    conda-forge
> libxml2                   2.9.4                         4    conda-forge
> mpfr                      3.1.5                         0    conda-forge
> muparser                  2.2.5                         2    conda-forge
> ncurses                   5.9                          10    conda-forge
> openjpeg                  2.1.2                         2    conda-forge
> openssl                   1.0.2h                        3    conda-forge
> pip                       9.0.1                    py35_0    conda-forge
> proj4                     4.9.3                         2    conda-forge
> python                    3.5.3                         0    conda-forge
> readline                  6.2                           0    conda-forge
> setuptools                33.1.0                   py35_0    conda-forge
> sqlite                    3.13.0                        1    conda-forge
> tk                        8.5.19                        1    conda-forge
> wheel                     0.29.0                   py35_0    conda-forge
> xerces-c                  3.1.4                         3    conda-forge
> xz                        5.2.2                         0    conda-forge
> zlib                      1.2.11                        0    conda-forge
> mkl                       11.3.3                        0
> numpy                     1.11.2                   py35_0
> scikit-learn              0.18                np111py35_0
> scipy                     0.18.1              np111py35_0
>
> On 7 Feb 2017, at 19:35, Jianlei 'John' Sun <inee...@gmail.com 
> <javascript:>> wrote:
>
> Hi Dan,
>
> Yes, I tried that too. The development version gave me the the same ERROR 
> message(please see attached file "dev_version_error.png". )
>
> I guess the installed GDAL package was actually not working (see 
> "GDAL_error"), even after this command - "conda install -c conda-forge 
> gdal". However,  "conda install gdal" would give me a working GDAL, but 
> some issues with other dependencies. 
>
> I also attached two snapshots showing all packages that I installed. 
>
> Thanks,
> John
>
> On Tuesday, February 7, 2017 at 12:38:11 PM UTC-6, Dan Clewley wrote:
>>
>> Hi John,
>>
>> Have you tried installing the development version? Try:
>>
>> conda create -n rsgislib_dev -c conda-forge -c au-eoed rsgislib
>> source activate rsgislib_dev
>>
>> Thanks,
>>
>> Dan
>>
>> On 7 Feb 2017, at 16:46, Jianlei 'John' Sun <inee...@gmail.com> wrote:
>>
>> Dear Pete & Other Collegues,
>>
>> I followed the step-by-step instruction to install OSGEO on my MacBook.  
>>
>> However, when I tried to import the rsgislib library, I got the following 
>> ERROR message. Any chance you could show me how to solve it? 
>>
>> Thanks,
>> John
>>
>>
>> On Tuesday, September 20, 2016 at 9:19:26 AM UTC-5, Pete Bunting [pfb] 
>> wrote:
>>>
>>> Dear all,  
>>>
>>> We have change the way in which we are making software available through 
>>> conda. As part of this we have removed the osgeo channel to avoid confusion 
>>> with the OSGEO (http://osgeo.org) and the packages are now available 
>>> through the conda-forge and rios channels. However, to make it a simpler 
>>> installation process we have created environments which are already 
>>> packaged up and available within the au-eoed channel. The environments have 
>>> arcsi, spdlib, pylidar, rsgislib, rios, python-fmask, kealib, tuiview etc. 
>>> all installed and setup. 
>>>
>>> We would recommend that you update to using these new builds, as there 
>>> are many bug fixes and new features in the packages. Please note these 
>>> builds are with GDAL 2.1. To install the python 3.5 builds for Linux and 
>>> Mac OSX using the environments we have created you need to install the 
>>> anaconda-client package from conda and then the appropriate environment. 
>>> Please note difference between linux and mac OS X here. 
>>>
>>> conda install anaconda-client
>>> # Linux
>>> conda env create au-eoed/au-osgeo-lnx
>>> source activate au-osgeo-lnx
>>> # Mac OSX
>>> conda env create au-eoed/au-osgeo-osx
>>> source activate au-osgeo-osx
>>>
>>> The environment will be created with the generic name we have assigned 
>>> but if you want to change it you will need to clone the environment to a 
>>> new name for example: conda create --name au-osgeo-lnx --clone my-osgeo-env
>>>
>>> Please let us know if you run into any difficulties. 
>>>
>>> Best wishes, 
>>>
>>> Pete
>>>
>>> ****************************************************
>>> * Dr Pete Bunting
>>> * Reader in Remote Sensing
>>> * Earth Observation and Ecosystem Dynamics Group
>>> * Department of Geography and Earth Sciences
>>> * Aberystwyth University
>>> * Aberystwyth
>>> * Ceredigion
>>> * SY23 3DB
>>> * UK
>>> * 
>>> * Ph: +44 (0) 1970 622615
>>> * Mob: +44 (0) 7917 842743
>>> * Email: p...@aber.ac.uk
>>> * ORCID: http://orcid.org/0000-0002-7435-0148
>>> ****************************************************
>>> *"Please consider the environment before printing this email or any 
>>> documents attached”*
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> Un o’r 4 prifysgol uchaf yn y DU a’r gorau yng Nghymru am fodlonrwydd 
>>> myfyrwyr 
>>> (Arolwg Cenedlaethol y Myfyrwyr 2016) 
>>> www.aber.ac.uk 
>>>
>>> Top 4 UK university and best in Wales for student satisfaction 
>>> (National Student Survey 2016) 
>>> www.aber.ac.uk 
>>>
>>
>> -- 
>> 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.
>> <Screen Shot 2017-02-07 at 10.43.01 AM.png>
>>
>>
>>
> -- 
> 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 <javascript:>.
> To post to this group, send email to rsgislib...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/rsgislib-support.
> For more options, visit https://groups.google.com/d/optout.
> <dev_version_error.png><GDAL_error.png><rsgislib_dev_packages.png>
> <osgeoenv_packages.png>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to