2 Star 36 Fork 8

Time-Coder/Glass-Engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mac_install_python.sh 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
Time-Coder 提交于 2025-01-25 12:35 +08:00 . replace tsinghua source to aliyun source
#!/bin/bash
set -e
# brew install xz
python_versions=("3.7.9" "3.8.10" "3.9.13" "3.10.11" "3.11.7" "3.12.1")
for version in ${python_versions[@]};
do
# wget --no-check-certificate https://npm.taobao.org/mirrors/python/$version/Python-$version.tar.xz -P ~/.pyenv/cache/
# pyenv install $version
pyenv local $version
$(pyenv which python) -m pip install pip --upgrade -i https://mirrors.aliyun.com/pypi/simple
$(pyenv which python) -m pip install -r requirements.txt --upgrade -i https://mirrors.aliyun.com/pypi/simple
done;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/time-coder/Glass-Engine.git
git@gitee.com:time-coder/Glass-Engine.git
time-coder
Glass-Engine
Glass-Engine
main

搜索帮助