teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

発生している問題・エラーメッセージの変化とファイル構成の追記

2020/05/10 05:11

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -4,11 +4,13 @@
4
4
 
5
5
 
6
6
  ### 発生している問題・エラーメッセージ
7
+ 以下のエラーメッセージで`en-core-web-sm==2.2.5`が問題ということはわかるのですが、どのように変更すれば良いかわかりません。
7
8
 
8
9
  Activity Feed > Build Log
9
10
  ```
11
+ ERROR: Could not find a version that satisfies the requirement en-core-web-sm==2.2.5 (from -r /tmp/build_261...(個別のビルド番号/requirements.txt (line 31)) (from versions: none)
10
- -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
12
+ ERROR: No matching distribution found for en-core-web-sm==2.2.5 (from -r /tmp/build_261...(個別のビルド番号)/requirements.txt (line 31))
11
- More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
13
+ ! Push rejected, failed to compile Python app.
12
14
  ! Push failed
13
15
  ```
14
16
 
@@ -44,8 +46,23 @@
44
46
  ! Push failed
45
47
  ```
46
48
 
49
+ ### ファイル構成
50
+ webappのフォルダからherokuコマンドを実行しています
51
+ ローカルではWebアプリを実行できています
52
+
53
+ ```
54
+ Webapp
55
+ ├── app.py
56
+ ├── static
57
+ ├── templates
58
+ ├── Procfile
59
+ ├── requirements.txt
60
+ ├── flaski (db関連フォルダ)
61
+ ```
62
+
47
63
  ### 補足情報(FW/ツールのバージョンなど)
48
64
  ターミナル バージョン2.10
49
65
  Python 3.7.4
50
66
  Flask '1.1.2'
51
- heroku/7.33.3 darwin-x64 node-v11.14.0
67
+ heroku/7.33.3 darwin-x64 node-v11.14.0
68
+ SQLAlchemy 1.3.16