Hi Sarj, To overcome that issue you will need to update to the latest Spyder available (5.3.2 at the moment) from the conda-forge channel. If you did not install Spyder from conda-forge in the env you are using I would suggest to create a new env with conda-forge packages (to prevent erros from mixing conda packages channels). A related issue where the shared traceback was reported too for more info: https://github.com/spyder-ide/spyder/issues/17616
Best regards, Daniel El viernes, 17 de junio de 2022 a las 1:40:53 UTC-5, Anon escribió: > 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/6d8eb35d-2d93-48c7-bf7e-b45987682e62n%40googlegroups.com.