Error with import rsgislib.imagecalc

109 views
Skip to first unread message

Ali

unread,
Dec 18, 2018, 1:36:56 PM12/18/18
to RSGISLib Support

Hi,

I am following the instructions for installing ARCSI (https://www.arcsi.remotesensing.info/) and when trying to run arcsi.py it is unable to import rsgislib.imagecalc


(arcsienv) C:\Miniconda3\Scripts>arcsi.py -h

Traceback (most recent call last):

  File "C:\Miniconda3\envs\arcsienv\Scripts\\arcsi-script.py", line 56, in <module>

    import arcsilib.arcsirun

  File "C:\Miniconda3\envs\arcsienv\lib\site-packages\arcsilib\arcsirun.py", line 65, in <module>

    from arcsilib.arcsisensor import ARCSIAbstractSensor

  File "C:\Miniconda3\envs\arcsienv\lib\site-packages\arcsilib\arcsisensor.py", line 67, in <module>

    import rsgislib.imagecalc

  File "C:\Miniconda3\envs\arcsienv\lib\site-packages\rsgislib\imagecalc\__init__.py", line 6, in <module>

    from ._imagecalc import *

ImportError: DLL load failed: The specified module could not be found.



These files are present.

Has anybody else encountered this problem? Any tips on how to solve it?  I apologise if this is a very simple question!


Thanks,

Ali

Daniel Clewley

unread,
Dec 19, 2018, 2:07:36 AM12/19/18
to Ali, RSGISLib Support
Hi Ali,

I'm not quite sure. Were there any errors when you installed the packages?

One thing you could try is activating and reactivating the environment using:

deactivate

or just opening a new command prompt. Then:

source activate arcsienv

ARCSI hasn't been tested much under Windows so you are likely to run into more problems, I'd recommend running under Linux or macOS if you can. I've also heard ARCSI works better under the Windows Subsystem for Linux than natively on Windows.

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.

Pete Bunting

unread,
Dec 19, 2018, 4:04:52 AM12/19/18
to Ali, RSGISLib Support, Daniel Clewley
HI Ali, 

Did you follow the installation instructions of remotesensing.info? See the bottom of the follow page https://www.remotesensing.info/software/. There is a video of the whole process on linux. 

Best wishes, 

Pete

Alice Fitch

unread,
Dec 19, 2018, 9:19:24 AM12/19/18
to Pete Bunting, RSGISLib Support, Daniel Clewley
Hi Pete and Dan,

No errors when I installed the packages. I've tried deactivating and a couple of other things with no luck.

So what I will do is try Windows Subsystem for Linux and follow the installtion instructions sent by Pete.

Thank you both very much for the tips,

Ali

Reply all
Reply to author
Forward
0 new messages