https://prefect.io logo
#prefect-community
Title
# prefect-community
m

Michael Michael

03/24/2023, 5:22 PM
Hola 🙂 I am using the latest Prefect version and I get the following error when I run my deployment: "NameError: name 'os' is not defined" . I think there is a bug in the "compat.py" file, actually in the copytree method (line : mode = stat.S_IMODE(st. st_mode)) I think the "os" is missing so it should be os.stat ? Greets
z

Zanie

03/24/2023, 5:27 PM
Hey! Interesting — I’ve never seen that reported before. The shutil implementation this replicates actual imports stat separately
import stat
m

Michael Michael

03/24/2023, 5:35 PM
Thanks 🙂