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
In the fresh environment, using Python 3.9.7 on macOS Monterey 12.2.1 (x86) (tested on M1 chip, same issues)
No extra packages were installed, only Opyrator and its dependencies
The code I'm trying to run:
frompydanticimportBaseModelclassInput(BaseModel):
message: strclassOutput(BaseModel):
message: strdefhello_world(input: Input) ->Output:
"""Returns the `message` of the input data."""returnOutput(message=input.message)
ImportError: cannot import name 'graphql' from 'starlette' (/Users/sean/python_envs/opyrator-env/lib/python3.9/site-packages/starlette/init.py)
Problem with streamlit (streamlit==1.6.0)
Some folks on the internet suggest downgrading streamlit, but it seems like the issue still persists.
I've looked into the package itself and didn't find either report_thread.py or "report_thread" in the python files
The text was updated successfully, but these errors were encountered:
+1. One fails on the first thing on "Getting started"...
I downgraded streamlit to 1.3.1 and starlette to 0.13.6 as suggested by @felixmaechtle, now the Getting started works.
In the fresh environment, using Python 3.9.7 on macOS Monterey 12.2.1 (x86) (tested on M1 chip, same issues)
No extra packages were installed, only Opyrator and its dependencies
The code I'm trying to run:
Issue #1
$ opyrator launch-ui my_opyrator:hello_world
ModuleNotFoundError: No module named 'streamlit.report_thread'
Issue #2
$ opyrator launch-api my_opyrator:hello_world
ImportError: cannot import name 'graphql' from 'starlette' (/Users/sean/python_envs/opyrator-env/lib/python3.9/site-packages/starlette/init.py)
Problem with streamlit (streamlit==1.6.0)
Some folks on the internet suggest downgrading streamlit, but it seems like the issue still persists.
I've looked into the package itself and didn't find either report_thread.py or "report_thread" in the python files
The text was updated successfully, but these errors were encountered: