Ayyanar Thangaraj
06/21/2021, 3:24 AMKevin Kho
prefect? Do you have files named tasks.py, task.py? These will cause conflicting importsAyyanar Thangaraj
06/21/2021, 3:40 AMAyyanar Thangaraj
06/21/2021, 3:40 AMKevin Kho
pip install into the venv?Ayyanar Thangaraj
06/21/2021, 3:44 AMKevin Kho
test, put email.py there and try running that?Kevin Kho
venv as much so I’d have to ask the team tomorrow, but this might also be because the script you have is inside the venv . It might also be worth trying to have the script in the directory above venv , but still have the venv activated. If this also fails, I would look at your path and see if there is a folder in your path that has a folder named prefect that can cause the import conflictKevin Kho
venv folder seems to be bad practice, but I guess it should cause the errors you’re seeing. Still worth a try though.