Error for some users on "hello-world" code we hav...
# prefect-server
y
Error for some users on "hello-world" code we have an agent running on a host, on user group "a" I am in this user group and can run the hello-world code without a problem. another user on that host, who is on a different user group, tries to run the same "hello-world" code he can run it using the
flow.run()
and it runs OK he can register it and see the flow in the dashboard, but it fails with
Copy code
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/home/<user_name>'",)
any thoughts? does every user group needs a different agent ?
d
I just ran into that myself - here's a discussion and solution to it: https://github.com/PrefectHQ/prefect/discussions/5143
k
Adding this discourse topic
y
So far, it looks like it was permissions issue in the user home folder.