更新时间:2024-01-09 GMT+08:00
安装 kp-abstract
tar kp-abstract-dev.tar.gz yum install -y centos-release-scl yum install -y rh-python38 which scl enable rh-python38 bash
查看python位置
which python{,2,3}
超链接
# ll /opt/rh/rh-python38/root/usr/bin/python*
图1 超链接
查看python版本
python -V Python 3.8.0
进入项目文件夹
cd kp-abstract pip install poetry poetry install poetry shell nohup poetry run python -m uvicorn app.main:app --host 0.0.0.0 --port 8918 &
父主题: 实施步骤