我從應用程式商店安裝了最新版本的 JMP Assistant。嘗試運行它時,出現錯誤提示,要求我安裝一些 Python 套件。我已經嘗試安裝,但仍然出現相同的錯誤。此外,請查看錯誤訊息末尾提到的 C 碟資料夾,發現所需的軟體包似乎已經安裝好了。
還有其他方法可以試試嗎?
謝謝,
查理
資訊:check_dependencies:正在從下列位置讀取相依性:C:\Users\chswhi\AppData\Roaming\JMP\JMP\Addins\com.jmp.assistant\requirements.txt
警告:check_dependencies:[缺少] fastapi 無法匯入 — fastapi==0.135.3
資訊:檢查依賴項:[OK] uvicorn 0.44.0
資訊:檢查依賴項:[OK] requests 2.33.1
資訊:檢查依賴項:[確定] aiohttp 3.13.5
資訊:檢查依賴項:[OK] python-dotenv 1.0.1
資訊:檢查依賴項:[OK] websockets 16.0
資訊:檢查依賴項:[OK] python-multipart 0.0.26
資訊:檢查依賴項:[正常] httpx 0.28.1
資訊:檢查依賴項:[OK] customgpt-client 1.2.8
警告:check_dependencies:[缺失] anthropic 無法導入 — anthropic==0.97.0
警告:check_dependencies:[缺失] openai 無法導入 — openai==2.30.0
警告:check_dependencies:[缺少] google.generativeai 無法導入 — google-generativeai==0.8.6
驗證 - 全部安裝:否
仍缺少:['fastapi==0.135.3', 'anthropic==0.97.0', 'openai==2.30.0', 'google-generativeai==0.8.6']
安裝失敗? ? ?
以下軟體包無法安裝:
fastapi==0.135.3,anthropic==0.97.0,openai==2.30.0,google-generativeai==0.8.6
這可能是由於:
- 無網路連接
- 防火牆封鎖了管道
- 軟體包版本不相容
JMP 19.1.0 Python Python313 環境問題
請使用以下命令手動安裝這些軟體包:
pip install fastapi==0.135.3, anthropic==0.97.0, openai==2.30.0, google-generativeai==0.8.6
或檢查:C:/Users/chswhi/AppData/Roaming/JMP/JMP/Python/Python313/site-packages
嗨@charlie_whitman ,感謝您的回饋。我不確定是什麼原因導致的——可能是與 Windows Defender 有衝突。建議:
1. 再運轉一次,看看是否能安裝成功。
2. 如果問題仍然存在,請關閉所有 JMP 實例,然後重新命名或刪除本機 JMP Python 資料夾(JMP 重新啟動時會從頭開始建立新的資料夾)。該資料夾的路徑應為:C:\Users\chswhi\AppData\Roaming\JMP\JMP\Python。刪除或重新命名該資料夾。然後重新啟動 JMP 並再次嘗試執行 Assistant。您應該會看到所有 Python 套件都已重新安裝。如果問題仍然存在,請將完整的 JMP 日誌發送給我,以便我進一步調查。