Missing "analysis_token" environment variable: External Analysis Togo-SDK

Missing "analysis_token" environment variable: External Analysis Togo-SDK

Hi Folks! I am trying to run external analysis from a Tago SDK on Python, but I'm encountering an issue: 'Missing "analysis_token" environment variable' even though I've set the token parameter. 

Connected to TagoIO, Getting analysis information...
Analysis [teste] Started.

Missing "analysis_token" environment variable

I've found references for node.js but haven't been successful in adapting it to work on Python.

I'll be glad for any advice.

Thx