On 22 Jan 2018, at 15:01, RODRIGO NUNES <rodrigon...@gmail.com> wrote:
Hi colleagues, I have an issue when running the classification script from the RSGISLib_IntroTraining_Jan2017 course:When I try to run the '16_PerformObjClass.py' script it gives an error:> (py35) RNSOUSA@RODRIGO_NUNES:/mnt/c/RSGISLIB$ python 16_PerformObjClass.pyTraceback (most recent call last):File "16_PerformObjClass_LANDSAT.py", line 4, in <module>from rsgislib import rastergisFile "/home/RNSOUSA/.conda/envs/py35/lib/python3.5/site-packages/rsgislib/rastergis/__init__.py", line 6, in <module>from ._rastergis import *ImportError: libboost_filesystem.so.1.65.1: cannot open shared object file: No such file or directoryI am running the Miniconda 4.3.31, Python 3.5.4 and rsgislib 3.4.9 on Linux bash on Windows10.
I already used the command:> conda update --allThanks--
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.
On 22 Jan 2018, at 21:42, RODRIGO NUNES <rodrigon...@gmail.com> wrote:Hi Dan,Still not working..After running:> conda create -n osgeo -c conda-forge rsgislib> source activate osgeoIt gives..> (osgeo) RNSOUSA@RODRIGO_NUNES:/mnt/c/RSGISLIB$ python 16_PerformObjClass_LANDSAT.py
Traceback (most recent call last):File "16_PerformObjClass_LANDSAT.py", line 4, in <module>from rsgislib import rastergis
File "/home/RNSOUSA/.conda/envs/osgeo/lib/python3.6/site-packages/rsgislib/rastergis/__init__.py", line 6, in <module>from ._rastergis import *ImportError: libopenblas.so.0: cannot open shared object file: No such file or directoryRodrigo Nunes de SousaBiologist, Ph.D. candidate in Ecology and Biodiversity at UNESP - RCE-mail: RODRIGON...@GMAIL.COMSkype: rnsousa2018-01-22 19:17 GMT-02:00 RODRIGO NUNES <rodrigon...@gmail.com>:Thanks Dan.. I'll try it and call you back..Rodrigo Nunes de SousaBiologist, Ph.D. candidate in Ecology and Biodiversity at UNESP - RCE-mail: RODRIGON...@GMAIL.COMSkype: rnsousa
2018-01-22 19:11 GMT-02:00 Daniel Clewley <daniel....@gmail.com>:
Hi Rodrigo,I’m not sure why this isn’t working. Could you try installing from scratch in a new environment and see if you have any luck with this?conda create -n rsgislib-new -c conda-forge rsgislibThanks,
Dan
On 22 Jan 2018, at 15:01, RODRIGO NUNES <rodrigon...@gmail.com> wrote:
Hi colleagues, I have an issue when running the classification script from the RSGISLib_IntroTraining_Jan2017 course:When I try to run the '16_PerformObjClass.py' script it gives an error:> (py35) RNSOUSA@RODRIGO_NUNES:/mnt/c/RSGISLIB$ python 16_PerformObjClass.pyTraceback (most recent call last):File "16_PerformObjClass_LANDSAT.py", line 4, in <module>from rsgislib import rastergisFile "/home/RNSOUSA/.conda/envs/py35/lib/python3.5/site-packages/rsgislib/rastergis/__init__.py", line 6, in <module>from ._rastergis import *ImportError: libboost_filesystem.so.1.65.1: cannot open shared object file: No such file or directoryI am running the Miniconda 4.3.31, Python 3.5.4 and rsgislib 3.4.9 on Linux bash on Windows10.I already used the command:> conda update --allThanks
--
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-support+unsubscribe@googlegroups.com.
To post to this group, send email to rsgislib-support@googlegroups.com.
--
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.
HI Dan and Chewley, I installed and updated the new rsgislib build at conda-forge.
"....
Running Rasterise now...
Traceback (most recent call last):
File "16_PerformObjClass.py", line 51, in <module>ratutils.populateClumpsWithClassTraining(clumpsImg, classesDict, tmpPath, classesIntColIn, classesNameCol)File "/home/RNSOUSA/.conda/envs/rsgislib-new/lib/python3.6/site-packages/rsgislib/rastergis/ratutils.py", line 1168, in populateClumpsWithClassTrainingvectorutils.rasterise2Image(classShpFile, clumpsImg, classImgFile, gdalformat="KEA", burnVal=classIntVal)File "/home/RNSOUSA/.conda/envs/rsgislib-new/lib/python3.6/site-packages/rsgislib/vectorutils/__init__.py", line 96, in rasterise2Imageraise eFile "/home/RNSOUSA/.conda/envs/rsgislib-new/lib/python3.6/site-packages/rsgislib/vectorutils/__init__.py", line 73, in rasterise2ImageinVectorLayer = inVectorDS.GetLayer(0)AttributeError: 'NoneType' object has no attribute 'GetLayer' "