CS-SI/eodag-cube

EODataAccessGateway

carolinepacheco opened this issue · 2 comments

Hi,

It is my first time using this library and every time I run:

dag = EODataAccessGateway()

I get the following error:

expected '', but found ''
in "/opt/anaconda3/lib/python3.8/site-packages/eodag/resources/providers.yml", line 1595, column 1

Can someone please help me solve this problem?

Hi @carolinepacheco and thank you for reporting this issue.
I have just tried to install eodag in a clean environment using conda install -c conda-forge eodag, but got no error.
Can you please provide some more information:

  • your eodag version, run in your shell:
eodag version
  • the output of:
sed -n "1590,1600p" /opt/anaconda3/lib/python3.8/site-packages/eodag/resources/providers.yml
  • And try running eodag with more verbosity:
from eodag import EODataAccessGateway
from eodag.utils.logging import setup_logging
setup_logging(3)
dag = EODataAccessGateway()

Thank you

Hi @sbrunato,

Thanks for your quick reply.
I reinstalled anaconda, then I followed your instructions and it works now.

Thanks a lot!