Hi guys, sorry for my english. I am trying to set...
# ask-community
g
Hi guys, sorry for my english. I am trying to setup a local agent in heroku and everything runs well, but when I try to register a task by heroku bash I only receive
Copy code
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/app/'
Did i do something wrong?
k
Hi @Gabriel Santos, are you importing other modules in your Flow? Are you using Docker to store your Flow? or to run your Flow?
g
Yes i am import some models to flow, but I using local store and local run
k
Sorry I had a call. Only your flow is saved with Local Storage so if you do something like
import app.something
where app is one of your custom modules, it won’t be serialized with your flow. You need to package these dependencies into a Docker container and then use Docker Run to run your flow on top of that container