mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix yaml
This commit is contained in:
parent
1b9e7ead72
commit
836f202e5a
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ CONFIG_FILE="$DATA_DIR/.config.yaml"
|
|||
if [ -n "$SECRET_KEY" ]; then
|
||||
echo "🔑 Checking if pyyaml is installed..."
|
||||
if ! python3 -c "import yaml" >/dev/null 2>&1; then
|
||||
echo "⚠️ Module pyyaml not found. Installing now..."
|
||||
python3 -m pip install --user pyyaml
|
||||
echo "⚠️ Module pyyaml not found. Installing with apt..."
|
||||
sudo apt-get install -y python3-yaml
|
||||
else
|
||||
echo "✅ pyyaml is already installed."
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue