mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 18:50:24 +00:00
Choose poetry env python version earlier (#71)
This commit is contained in:
parent
d093575596
commit
db47c31014
1 changed files with 7 additions and 1 deletions
8
setup.sh
8
setup.sh
|
@ -57,9 +57,14 @@ remove_poetry_env() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Choose python version
|
||||||
|
choose_python_version_or_fail() {
|
||||||
|
poetry env use python3.11 || { echo "Error: Python 3.11 is not installed."; exit 1; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Function to install dependencies
|
# Function to install dependencies
|
||||||
install_dependencies() {
|
install_dependencies() {
|
||||||
poetry env use python3.11
|
|
||||||
poetry install
|
poetry install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,6 +133,7 @@ create_organization() {
|
||||||
# Main function
|
# Main function
|
||||||
main() {
|
main() {
|
||||||
initialize_env_file
|
initialize_env_file
|
||||||
|
choose_python_version_or_fail
|
||||||
remove_poetry_env
|
remove_poetry_env
|
||||||
install_dependencies
|
install_dependencies
|
||||||
setup_postgresql
|
setup_postgresql
|
||||||
|
|
Loading…
Add table
Reference in a new issue