Forums

Script running fine in editor, but when I run it as a task, I get errors.

My script is using requests to pull data, and it works in the editor, but when I run it using python3.8 (same as the editor I understand) as a task, I get the following error:

partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)

Is there any reason a script that runs in the editor won't run as a task? thank you.

do you by any chance have a file/folder called requests?