文章

顯示從 4月, 2025 起發佈的文章

BUG解决:TypeError: Accelerator.__init__() got an unexpected keyword argument ‘dispatch_batches‘

  TypeError: Accelerator.__init__ ( ) got an unexpected keyword argument 'dispatch_batches' 解决方案 pip install accelerate == 0.28 .0

ubuntu conda last step

 eval "$(/home/vboxuser/anaconda3/bin/conda shell.bash hook)"

No module named 'azure

  pip install azure-ai-inference pip install azure-storage-blob azure-identity

Rasa NLU Api Full step

 create anaconda env python 3.10.16 create ============ pip install rasa pip install jieba ========= rasa train nlu rasa shell 台北天氣 =========== rasa run --enable-api localhost:5005/model/parse {     "text" : "台北天氣"     }

rasa output json

  rasa train nlu rasa run --enable-api localhost:5005/model/parse {     "text" : "台北天氣"     }

No module named 'rasa_core'

  pip install --ignore-installed rasa_core

[RASA error] ImportError: cannot import name ‘LegacyVersion‘ from ‘packaging.version‘

pip uninstall packaging pip install packaging   pip install -U rasa