1 Star 0 Fork 38

YoFooon / Auto-GPT

forked from Gitee 极速下载 / Auto-GPT 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.sh 1007 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then
echo "This script cannot be run on Windows."
echo "Please follow the installation instructions at https://docs.python.org/3/using/windows.html"
echo "To install poetry on Windows, please follow the instructions at https://python-poetry.org/docs/master/#installation"
exit 1
else
if ! command -v python3 &> /dev/null
then
echo "python3 could not be found"
echo "Installing python3 using pyenv..."
if ! command -v pyenv &> /dev/null
then
echo "pyenv could not be found"
echo "Installing pyenv..."
curl https://pyenv.run | bash
fi
pyenv install 3.11.5
pyenv global 3.11.5
fi
if ! command -v poetry &> /dev/null
then
echo "poetry could not be found"
echo "Installing poetry..."
curl -sSL https://install.python-poetry.org | python3 -
fi
fi
Python
1
https://gitee.com/yofooon/Auto-GPT.git
git@gitee.com:yofooon/Auto-GPT.git
yofooon
Auto-GPT
Auto-GPT
master

搜索帮助