Hi everyone,
Happy new year! I am new to RSGISLib Group and I am interested in this software regarding to image segmentation problems and was following the documentation through rsgislib websites. This documentation paper called RSGISLib_IntroTraining_Jan2018.pdf shows me how to install software packages in Windows systems. I followed the instructions: installed a virtual box, a virtual environment, conda, and all softwares like rsgislib, rios, tuiview, scikit-learn matplotlib h5py on page 13. We updated the system and checked the version as well. The next step was to check tuiview.
So we had two problems followed:
1). When we typed tuiview, it won't start and came to an error.
2) When we started the first tutorial section on page 18, I used the script obtained from the website and ran it, it came up with an error.
Below is what it said
tuiview error:
Traceback (most recent call last):
File "/home/kevin/miniconda3/envs/osgeo-env-v1/bin/tuiview", line 7, in <module>
from tuiview.viewerapplication import run
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/tuiview/viewerapplication.py", line 27, in <module>
from . import geolinkedviewers
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/tuiview/geolinkedviewers.py", line 27, in <module>
from . import viewerwindow
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/tuiview/viewerwindow.py", line 39, in <module>
from . import viewerwidget
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/tuiview/viewerwidget.py", line 31, in <module>
from . import viewerlayers
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/tuiview/viewerlayers.py", line 27, in <module>
from osgeo import gdal
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/osgeo/__init__.py", line 21, in <module>
_gdal = swig_import_helper()
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/osgeo/__init__.py", line 17, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: /home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/osgeo/../../../libgdal.so.20: undefined symbol: _ZN6libdap3DDSC1EPNS_15BaseTypeFactoryERKSs
script error:
Traceback (most recent call last):
File "01_BandMaths.py", line 5, in <module>
from rsgislib import imagecalc
File "/home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/rsgislib/imagecalc/__init__.py", line 6, in <module>
from ._imagecalc import *
ImportError: /home/kevin/miniconda3/envs/osgeo-env-v1/lib/python3.5/site-packages/rsgislib/imagecalc/../../../.././libgdal.so.20: undefined symbol: _ZN6libdap3DDSC1EPNS_15BaseTypeFactoryERKSs
I saw some people had similar problems as well, if some of you know how to fix this, please share it with me and I will appreciate a lot! Thank you for reading!
Hope to hear from you guys soon!
Best,
Hongli