You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable.
Thank you for your contribution and understanding! 🙏
Running the following in the command prompt fails:
pyflyte run --remote example.py training_workflow --hyperparameters "{\"C\": 0.1}"
Error:
{"asctime": "2023-03-11 11:32:20,895", "name": "flytekit", "levelname": "WARNING", "message": "FlyteSchema is deprecated, use Structured Dataset instead."} Failed with Exception: Reason: SYSTEM:Unknown Underlying Exception: cannot find context for 'fork'
The example is taken from https://docs.flyte.org/projects/cookbook/en/latest/index.html.
The error appears to be caused by this line:
https://github.com/flyteorg/flytekit/blob/master/flytekit/clients/auth/auth_client.py#L308
The python multiprocessing docs indicate only "spawn" is supported on Windows, and as of 3.8 is also recommended for macOS.
Version Info
Windows 10
Python 3.10.10
flytekit-1.4.1
The same example works for me on macOS.
The text was updated successfully, but these errors were encountered: