前提・実現したいこと
HerokuでGithub接続して作成したアプリケーションをデプロイしようとしたのですが、
アプリケーションをサーバーで動作しようとすると「ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 」とエラーが起こりました。
初歩的な質問で恐縮ですが、ご教授いただけると幸いです。
エラー
-----> Building on the Heroku-20 stack -----> Using buildpack: heroku/python -----> Python app detected -----> No Python version was specified. Using the buildpack default: python-3.10.5 To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-3.10.5 -----> Installing pip 22.1.2, setuptools 60.10.0 and wheel 0.37.1 -----> Installing SQLite3 -----> Installing requirements with pip Processing /tmp/build/80754af9/asgiref_1625643473416/work ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/tmp/build/80754af9/asgiref_1625643473416/work' ! Push rejected, failed to compile Python app. ! Push failed
とエラーが返されました。
ディレクトリ構造
mysite──────mysite ├──polls ├──db.sqlite3 ├── manage.py ├──README.md ├── requirements.txt
使用ツール
Python3.8.13
Heroku7.60.2
Windows10
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。