https://prefect.io logo
m

Marwan Sarieddine

10/29/2020, 3:24 AM
Hi folks, I just updated our kubernetes agent and dask kuberentes execution environment to use prefect 0.13.3 - but after around 20 minutes of running a flow I am getting this traceback:
Copy code
<Failed: "Unexpected error: AttributeError("partially initialized module 'prefect' has no attribute 'schedules' (most likely due to a circular import)")">
wondering if anyone has encountered this before ?
c

Chris White

10/29/2020, 4:27 AM
Hi Marwan, Stackoverflow suggests you might have a file named
prefect
that is also importing the
prefect
package? https://stackoverflow.com/questions/59762996/how-to-fix-attributeerrorpartially-initialized-module
m

Marwan Sarieddine

10/29/2020, 4:37 AM
Hi @Chris White - thanks for the suggestion but I don't see any file naming conflicts - the flow runs perfectly fine for the first 20 minutes and the same mapped tasks run successfully until this flow-level error is thrown ...
🧐 1