https://prefect.io logo
a

Andrei Aldescu

04/01/2022, 7:47 AM
Hi , i am runing the tutorial to get the first heloworld in perfect.io , but i get this error message in the import statement >>> from perfect import task, Flow Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> from perfect import task, Flow ImportError: cannot import name 'task' from '<unknown module name>' (unknown location)
a

Anna Geller

04/01/2022, 9:55 AM
While Prefect is certainly perfect, the product's and library's name is
prefect
😄 Try:
Copy code
from prefect import task, Flow
The website is also prefect.io
a

Andrei Aldescu

04/01/2022, 9:59 AM
🙂 that is it , thank you.
👍 1
14 Views