Update langflow-base to version 0.0.15 and fix setup_env script
This commit is contained in:
parent
8ed4b30e96
commit
7c5506ff4c
6 changed files with 185 additions and 267 deletions
|
|
@ -7,6 +7,31 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Checking Pipx installation..."
|
||||
|
||||
# Check if pipx is installed
|
||||
if ! command -v pipx &> /dev/null
|
||||
then
|
||||
echo "Pipx is not installed. Installing..."
|
||||
python3 -m pip install --user pipx
|
||||
python3 -m pipx ensurepath
|
||||
echo "Pipx installed successfully."
|
||||
else
|
||||
echo "Pipx is already installed."
|
||||
fi
|
||||
|
||||
echo "Checking Poetry installation..."
|
||||
|
||||
# Check if Poetry is installed
|
||||
if ! command -v poetry &> /dev/null
|
||||
then
|
||||
echo "Poetry is not installed. Installing..."
|
||||
pipx install poetry
|
||||
echo "Poetry installed successfully."
|
||||
else
|
||||
echo "Poetry is already installed."
|
||||
fi
|
||||
|
||||
echo "Checking Poetry version..."
|
||||
|
||||
# Check Poetry version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue