[英]Installing packages on Google App Engine using Anaconda?
這個周末我制作了一個 Flask 應用程序,它使用了很多 ML 包,比如 Pytorch。 模型都是構建好的,所以我們不需要像 Google Compute Engine 這樣瘋狂的東西。 但是,我仍然需要安裝這些庫。 但是,像 Pytorch 這樣的許多軟件不支持 pip。 我在嘗試部署時遇到這樣的錯誤。
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 729275d4-8baa-480d-bc31-6e1fca2ccf2a status: FAILURE.
Build error details: {"message": "`pip_download_wheels` had stderr output:\n Could not find a version that satisfies the requirement mkl-fft (from -r /dev/stdin (line 18)) (from versions: )\nNo matching distribution found for mkl-fft (from -r /dev/stdin (line 18))\n\nerror: `pip_download_wheels` returned code: 1", "code": 1, "type": "USER_ERROR"}.
Check the build log for errors: https://console.cloud.google.com/gcr/builds/729275d4-8baa-480d-bc31-6e1fca2ccf2a?project=392093192495.
有沒有辦法使用 Anaconda 而不是 requirements.txt 文件在 Google App Engine 上安裝這些?
如果有人好奇,這里就是這個項目。 如果這是不可能的,是否有任何其他托管服務可以使這變得容易(並且有某種免費層)?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.