fix gcp deployment script (#1937)
Resolved an issue with installing and running Langflow. The initial installation via pip install langflow and subsequent command langflow --host 0.0.0.0 --port 7860 encountered errors. The solution involved: Upgrading pip to the latest version. Updating the system packages. Reinstalling Langflow with pip3. Adjusting the execution command to langflow run --host 0.0.0.0 --port 7860.
This commit is contained in:
parent
8a70c655cc
commit
eb60b039fb
1 changed files with 4 additions and 2 deletions
|
|
@ -48,8 +48,10 @@ apt -y upgrade
|
|||
|
||||
# Install Python 3 pip, Langflow, and Nginx
|
||||
apt -y install python3-pip
|
||||
pip install langflow
|
||||
langflow --host 0.0.0.0 --port 7860
|
||||
pip3 install pip -U
|
||||
apt -y update
|
||||
pip3 install langflow
|
||||
langflow run --host 0.0.0.0 --port 7860
|
||||
EOF
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue