Tuiview Import Error & Import error for " from rsgislib import imagecalc" in 01_BandMaths.py

29 views
Skip to first unread message

Alpesh

unread,
Mar 22, 2019, 2:17:33 AM3/22/19
to RSGISLib Support
 
I have installed analonda3 on ubantu mate 18.04. 

I want to implement RSGISLib-Training Doc 2018. I am following the instruction given in the doc for software installation

But instead of Using Mini-conda I am using Anaconda3.

I have make a new environment  and installed rsgislib and other software using 

conda install -c conda-forge rsgislib
conda install -c conda-forge rios
conda install -c conda-forge tuiview
conda install -c conda-forge scikit-learn matplotlib h5py


 conda version is 4.6.8 ,  rsgis version is 3.5.7 , python version is 3.5.5   

when I type Type tuiview on terminal I found following error:

ImportError : libpoppler.so.71: can not open shared object file: No such file or directory.

Than I have tried to rub script fi le 01_BandMaths.py . But I have found the Import error for line 5 of script file for " from rsgislib import imagecalc"

ImportError : libpoppler.so.71: can not open shared object file: No such file or directory.

If any one have solution of this error than please reply. 

Daniel Clewley

unread,
Mar 22, 2019, 4:06:04 AM3/22/19
to Alpesh, RSGISLib Support
Hi,

I don’t think the conda-forge builds for RSGISLib working at the moment, TuiView should be OK if you just install this. Sam has a pull request in build the latest version (see https://github.com/conda-forge/rsgislib-feedstock/pull/18) but this isn’t building at the moment and I can’t see why.

Best think to do is keep an eye on the conda-forge feedstock on GitHub and if you or anyone else on the list can contribute to the builds this would be helpful.

For future reference you are normally better off listing all the packages you want to install in the same line rather than doing as separate steps as I think the dependency solver works better this way.

I also noticed you are using Python 3.5, I think the conda-forge builds are only going to be for 3.6 and 3.7 so you will need to use a newer version of Python.

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.

Alpesh

unread,
Mar 22, 2019, 4:50:10 AM3/22/19
to RSGISLib Support
Thanks Dan,

I am new in this field. I have just started my work. I want to implement RSGISLib-Training Doc 2018. 

Can you please suggest me, write now ,  on which version of anaconda and python I can run RSGISLIB other software like RIOS and  tuiview.
Reply all
Reply to author
Forward
0 new messages