Import_imaging as core; DLL load failed; specified module could not be found

Hello all,

I am trying to run Sen2Cor on sentinel 2 images and this is the error I am getting
Please help solve this issue.
Thank you,
Regards.
Tarun.

You probably have installed sen2cor 2.3 for Anaconda before (as indicated by your screenshots)
I noticed that this interferes with the standalone 2,4 version regarding dlls.
You can run
pip list
to see if sen2cor 2.3 is still installed and if so
pip uninstall sen2cor

This won’t affect your standalone version 2.4 but moreover makes sure that this is the only one used.

Hello ABraun,

Thanks for the reply.

I solved this issue using following steps

my sen2cor is running properly now.

thank you for reporting, this will surely help other users!

Thank you.

Hi everyone,

I’va followed the steps to install Sen2cor from the bundle on SNAP 6. But when I check if sen2cor installed with pip list,
Sen2cor does noest appear. Thus when I run it on SNAP, its seems that sen2cor does not start.
I would appreciate some help please.

Best

sen2cor of SNAP 6 is separate from your python installation which usually calls pip. So these are two different thing. You should however be able to call the bundle from within SNAP.
My comment with pip was before SNAP 6 was released.

Please have a look here: Sen2cor 2.4.0 on SNAP 6.0

Good morning,

Thank you very much for your fast answer. I have finally solved the problem by following your steps in this discussion : Sen2cor 2.4.0 on SNAP 6.0

Then, because of a message error…

File “/home/rasdaman/Sen2Cor-2.4.0-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Tables.py”, line 163, in init
t2a_split[2] + ‘’ + t2asplit[1] + ‘’ + t1csplit[10]
IndexError: list index out of range

…I have edited the L2A_Tables.py (line 163) in an IDLE, according to Can't process some tiles, Sen2Cor IndexError: list index out of range

I have replaced :
self.tileId2a = t1c_split[0] + ‘USER’ + t1c_split[2] + '’ + t2a_split[0] + ‘’ +
t1c_split[4] + '
’ + t1c_split[5] + ‘’ + t2a_split[3] + '’ +
t2a_split[2] + ‘’ + t2a_split[1] + '’ + t1c_split[10]
Into this :
self.tileId2a = t1c_split[0] + ‘USER’ + t1c_split[2] + '’ + t2a_split[0] + ‘’ +
t1c_split[4] + '
’ + t1c_split[5] + ‘’ + t2a_split[3] + '’ +
t2a_split[2] + ‘’ + t2a_split[1] + '’ + t1c_split[-1]

And it worked well for me.
Thanks for your help !

1 Like