diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index bf109560a..b7c9fa2b2 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -176,8 +176,8 @@ or manual setup: tar -xvzf redis-stack-server.tar.gz export PATH=$(pwd)/redis-stack-server-7.2.0-v10/bin:$PATH # if you are using Ubunutu 22.04, please do an extra step - wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb - sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb + wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb ``` ### Start the server diff --git a/sotopia/cli/install/install.py b/sotopia/cli/install/install.py index ea789aef0..4abfc46e8 100644 --- a/sotopia/cli/install/install.py +++ b/sotopia/cli/install/install.py @@ -382,6 +382,16 @@ def install( subprocess.run( "tar -xvzf redis-stack-server.tar.gz", shell=True, check=True ) + subprocess.run( + "wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb", + shell=True, + check=True, + ) + subprocess.run( + "sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb", + shell=True, + check=True, + ) if load_database: Path("./redis-stack-server-7.2.0-v10/var/db/redis-stack").mkdir( parents=True, exist_ok=True diff --git a/ui/modal_streamlit_app.py b/ui/modal_streamlit_app.py index d8bfe13b4..14a45a0a5 100644 --- a/ui/modal_streamlit_app.py +++ b/ui/modal_streamlit_app.py @@ -18,7 +18,7 @@ ) .pip_install("streamlit~=1.40.2", "uv") .run_commands( - "rm -rf sotopia && git clone https://github.com/sotopia-lab/sotopia.git && cd sotopia && git checkout demo && uv pip install pyproject.toml --system && pip install -e . && cd ui/streamlit_ui", + "rm -rf sotopia && git clone https://github.com/sotopia-lab/sotopia.git && cd sotopia && git checkout demo && uv pip install pyproject.toml --system && pip install -e . && cd ui", force_build=True, ) # .pip_install("pydantic==2.8.2")