Open Nanguage opened 11 months ago
You will need to load the imjoy core in the web page, so imjoy-rpc can connect to it. In that case, you can just use imjoy-core and load a plugin with type=web-python, this will automatically run Python plugin in pyodide.
If you don't want to do anything in the pyodide env, it's easier to just use imjoy_rpc.hypha to connect to the hypha server. Then you will have a system similar to imjoy.
I tried to run imjoy-rpc in the pyodide environment:
but the following error occurred.
Do I need to make some settings in the JS environment? If so, how should I do it?
Environment: https://pyodide.org/en/stable/console.html