enzyme
enzyme copied to clipboard
python syntax error when trying to deploy and run flow as in readme
/mnt/c/projects/enzyme$ python3 deploy_my_flow.py
File "/mnt/c/projects/enzyme/deploy_my_flow.py", line 3
program = await x1.deploy('my_flow.py')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: 'await' outside function
Link: https://github.com/aregm/enzyme/tree/x1#deploy-and-run-a-flow
python version: 3.10.6
Looks like I missed that the code needs to be run in jupyter.
@pbchekin how to use http://jupyter.localtest.me/ in the wsl session?
UPD: the problem due to proxy env variables
It should be noted in the docs that this code should be run not from the console, but from Jupyter