質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Q&A

0回答

767閲覧

fastAPIでherokuにデプロイしようとしているのですがエラーが出る。

hiei1

総合スコア52

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

0グッド

0クリップ

投稿2022/06/11 10:52

fastAPIでherokuにデプロイしようとしているのですがエラーが出ます。
どの様に解消すればいいでしょうか?

error

1Collecting pywinpty==2.0.5 2remote: Downloading pywinpty-2.0.5.tar.gz (23 kB) 3remote: Installing build dependencies: started 4remote: Installing build dependencies: finished with status 'done' 5remote: Getting requirements to build wheel: started 6remote: Getting requirements to build wheel: finished with status 'done' 7remote: Preparing metadata (pyproject.toml): started 8remote: Preparing metadata (pyproject.toml): finished with status 'error' 9remote: error: subprocess-exited-with-error 10remote: 11remote: × Preparing metadata (pyproject.toml) did not run successfully. 12remote: │ exit code: 1 13remote: ╰─> [6 lines of output] 14remote: Checking for Rust toolchain... 15remote: 16remote: Cargo, the Rust package manager, is not installed or is not on PATH. 17remote: This package requires Rust and Cargo to compile extensions. Install it through 18remote: the system's package manager or via https://rustup.rs/ 19remote: 20remote: [end of output] 21remote: 22remote: note: This error originates from a subprocess, and is likely not a problem with pip. 23remote: error: metadata-generation-failed 24remote: 25remote: × Encountered error while generating package metadata. 26remote: ╰─> See above for output. 27remote: 28remote: note: This is an issue with the package mentioned above, not pip. 29remote: hint: See above for details. 30remote: ! Push rejected, failed to compile Python app. 31remote: 32remote: ! Push failed 33remote: Verifying deploy... 34remote: 35remote: ! Push rejected to mighty-shore-05958. 36remote:

requirements.txt

1absl-py==1.0.0 2albumentations==1.1.0 3anyio==3.6.1 4argon2-cffi==21.1.0 5asgiref==3.5.2 6astunparse==1.6.3 7attrs==21.2.0 8backcall==0.2.0 9beautifulsoup4==4.11.1 10bitstring==3.1.9 11bleach==4.1.0 12cachetools==5.2.0 13certifi==2021.10.8 14cffi==1.15.0 15charset-normalizer==2.0.12 16click==8.1.3 17colorama==0.4.4 18cycler==0.11.0 19Cython==0.29.30 20debugpy==1.5.1 21decorator==5.1.0 22defusedxml==0.7.1 23easydict==1.9 24entrypoints==0.3 25fastapi==0.78.0 26filelock==3.7.0 27flatbuffers==1.12 28fonttools==4.28.1 29gast==0.4.0 30gdown==4.4.0 31genomes==1.1.0 32google-auth==2.6.6 33google-auth-oauthlib==0.4.6 34google-pasta==0.2.0 35grpcio==1.46.3 36gunicorn==20.1.0 37h11==0.13.0 38h5py==3.7.0 39icrawler==0.6.6 40idna==3.3 41imageio==2.19.2 42importlib-metadata==4.11.4 43importlib-resources==5.4.0 44ipykernel==6.5.1 45ipython==7.29.0 46ipython-genutils==0.2.0 47ipywidgets==7.6.5 48jedi==0.18.1 49Jinja2==3.0.3 50joblib==1.1.0 51jsonschema==4.2.1 52jupyter==1.0.0 53jupyter-client==7.0.6 54jupyter-console==6.4.3 55jupyter-core==4.9.1 56jupyterlab-pygments==0.1.2 57jupyterlab-widgets==1.0.2 58keras==2.9.0 59Keras-Preprocessing==1.1.2 60kiwisolver==1.3.2 61libclang==14.0.1 62locket==0.2.1 63lxml==4.8.0 64Markdown==3.3.7 65MarkupSafe==2.0.1 66matplotlib==3.5.0 67matplotlib-inline==0.1.3 68mistune==0.8.4 69mne==0.24.1 70mpmath==1.2.1 71nbclient==0.5.9 72nbconvert==6.3.0 73nbformat==5.1.3 74nest-asyncio==1.5.1 75networkx==2.8.2 76nose==1.3.7 77notebook==6.4.6 78numpy==1.22.4 79oauthlib==3.2.0 80onnx==1.11.0 81OpenBCI-Python==1.0.2 82opencv-contrib-python==4.5.4.58 83opencv-python==4.5.4.58 84opencv-python-headless==4.5.5.64 85opt-einsum==3.3.0 86packaging==21.3 87pandas==1.4.1 88pandocfilters==1.5.0 89parso==0.8.2 90partd==1.2.0 91pickleshare==0.7.5 92Pillow==8.4.0 93prettytable==3.3.0 94prometheus-client==0.12.0 95prompt-toolkit==3.0.22 96protobuf==3.19.4 97pyasn1==0.4.8 98pyasn1-modules==0.2.8 99pycparser==2.21 100pydantic==1.9.1 101Pygments==2.10.0 102pyOpenBCI==0.13 103pyparsing==3.0.6 104pyrsistent==0.18.0 105pyserial==3.5 106PySocks==1.7.1 107python-dateutil==2.8.2 108python-multipart==0.0.5 109python-utils==2.5.6 110pytz==2021.3 111PyWavelets==1.3.0 112pywinpty==2.0.5 113PyYAML==6.0 114 115pyzmq==22.3.0 116 117qtconsole==5.2.2 118QtPy==2.0.1 119qudida==0.0.4 120redis==3.5.3 121requests==2.27.1 122requests-oauthlib==1.3.1 123retina-face==0.0.12 124rsa==4.8 125scikit-image==0.19.2 126scikit-learn==1.0.2 127scipy==1.8.0 128seaborn==0.11.2 129Send2Trash==1.8.0 130setuptools-scm==6.3.2 131six==1.16.0 132sniffio==1.2.0 133soupsieve==2.3.2.post1 134starlette==0.19.1 135sympy==1.10 136tello==1.2 137tensorboard==2.9.0 138tensorboard-data-server==0.6.1 139tensorboard-plugin-wit==1.8.1 140tensorflow==2.9.1 141tensorflow-estimator==2.9.0 142tensorflow-io-gcs-filesystem==0.26.0 143termcolor==1.1.0 144terminado==0.12.1 145testpath==0.5.0 146threadpoolctl==3.1.0 147tifffile==2022.5.4 148tomli==1.2.2 149toolz==0.11.2 150torch==1.11.0 151torchaudio==0.11.0 152torchvision==0.12.0 153tornado==6.1 154tqdm==4.64.0 155traitlets==5.1.1 156traittypes==0.2.1 157typing_extensions==4.1.1 158urllib3==1.26.7 159uvicorn==0.17.6 160wcwidth==0.2.5 161webencodings==0.5.1 162Werkzeug==2.1.2 163widgetsnbextension==3.5.2 164wrapt==1.14.1 165xmltodict==0.12.0 166zipp==3.6.0 167

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問