Tonin Gega

10/06/2021, 4:29 PM
Hey guys, I’ve got Prefect running in a GCE VM, I’ve configured my config.toml locally so that I can register my flow to the remote VM and then run from the front end. I’m getting this error: 
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/Users/tonin'")
 not really sure what i’m missing, that’s not a module in my flow. If I register my flow from within the VM the flow runs fine.

Kevin Kho

10/06/2021, 4:37 PM
Hey @Tonin Gega, reading this will clear things up

Marco Fontana

10/07/2021, 12:45 PM
Hello @Kevin Kho thank you for your answer 🙂 I work with Tonin. The reason we asking is because few days ago we were able to register a flow from local laptop to the server and run it from there. Is what I just described an actual scenario that can happen with certain configuration or are we completely wrong? Thanks for your help 🙂

Kevin Kho

10/07/2021, 1:56 PM
You just want to use a storage class (Github, S3) that can be pulled from both locations, and then it will work