Hi there

I've been coding in Python to access Google Earth Engine.
Sypder has always been great for this.
However, in the last couple of weeks Google have updated their security 
protocols and I've had to update their EarthEngine api as a result. 

If I now write 

import ee
ee.Authenticate()

it opens the link to get the Google authentication code as before but it 
causes Spyder to crash. It gives me "Spyder has encountered an internal 
problem" pop up. Details below although I can't really understand them. 
I've run the same thing in Jupyter Labs and it works fine. But since I hate 
JL and would rather use Spyder I'd like to find a way to make this work. 
I'm using Spyder 5.0.3 and Python 3.9.
 
Is this just my setup or something related to the new authentication 
approach?

Thanks
Sarj


Traceback (most recent call last):
  File 
"C:\Users\GHComputer\.conda\envs\gee\lib\site-packages\qtconsole\base_frontend_mixin.py",
 
line 138, in _dispatch
    handler(msg)
  File 
"C:\Users\GHComputer\.conda\envs\gee\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py",
 
line 267, in _handle_input_request
    return super(DebuggingWidget, self)._handle_input_request(msg)
  File 
"C:\Users\GHComputer\.conda\envs\gee\lib\site-packages\qtconsole\frontend_widget.py",
 
line 512, in _handle_input_request
    self._readline(msg['content']['prompt'], callback=callback, 
password=msg['content']['password'])
  File 
"C:\Users\GHComputer\.conda\envs\gee\lib\site-packages\qtconsole\console_widget.py",
 
line 2413, in _readline
    self._show_prompt(prompt, newline=False, separator=False)
TypeError: _show_prompt() got an unexpected keyword argument 'separator'

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/25f2e934-aaa8-4f58-a8e2-66b64a45e5a3n%40googlegroups.com.

Reply via email to