質問編集履歴
14
追記及び修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -413,3 +413,5 @@
|
|
413
413
|
python-3.7.3 python-3.7.5
|
414
414
|
|
415
415
|
```
|
416
|
+
|
417
|
+
runtime.txtファイルの中身を、自分の環境のバージョンpython-3.7.5のみとし、再度```pip freeze > requirements.txt```とし「git commit」から「git push heroku master」としました、再度```ModuleNotFoundError: No module named 'future'```こちらのエラーが発生してしまいました。。
|
13
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -403,3 +403,13 @@
|
|
403
403
|
|
404
404
|
|
405
405
|
```
|
406
|
+
|
407
|
+
追記5
|
408
|
+
|
409
|
+
以下はruntime.txtファイルの中身になります。
|
410
|
+
|
411
|
+
```
|
412
|
+
|
413
|
+
python-3.7.3 python-3.7.5
|
414
|
+
|
415
|
+
```
|
12
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -301,3 +301,105 @@
|
|
301
301
|
error: failed to push some refs to 'https://git.heroku.com/test-app0011.git'
|
302
302
|
|
303
303
|
```
|
304
|
+
|
305
|
+
追記4
|
306
|
+
|
307
|
+
以下はrequirements.txtファイルの中身になります。
|
308
|
+
|
309
|
+
```
|
310
|
+
|
311
|
+
ansicolors==1.1.8
|
312
|
+
|
313
|
+
cachetools==3.1.1
|
314
|
+
|
315
|
+
certifi==2019.9.11
|
316
|
+
|
317
|
+
chardet==3.0.4
|
318
|
+
|
319
|
+
cycler==0.10.0
|
320
|
+
|
321
|
+
decorator==4.4.1
|
322
|
+
|
323
|
+
dj-database-url==0.5.0
|
324
|
+
|
325
|
+
Django==2.2.7
|
326
|
+
|
327
|
+
django-heroku==0.3.1
|
328
|
+
|
329
|
+
ez-setup==0.9
|
330
|
+
|
331
|
+
FiPy==3.3
|
332
|
+
|
333
|
+
future==0.18.2
|
334
|
+
|
335
|
+
gitdb2==2.0.6
|
336
|
+
|
337
|
+
GitPython==3.0.5
|
338
|
+
|
339
|
+
gunicorn==20.0.0
|
340
|
+
|
341
|
+
idna==2.8
|
342
|
+
|
343
|
+
imageio==2.6.1
|
344
|
+
|
345
|
+
imageio-ffmpeg==0.3.0
|
346
|
+
|
347
|
+
joblib==0.14.0
|
348
|
+
|
349
|
+
kiwisolver==1.1.0
|
350
|
+
|
351
|
+
matplotlib==3.1.2
|
352
|
+
|
353
|
+
moviepy==1.0.1
|
354
|
+
|
355
|
+
music21==5.7.1
|
356
|
+
|
357
|
+
numpy==1.17.3
|
358
|
+
|
359
|
+
pbr==5.4.3
|
360
|
+
|
361
|
+
Pillow==6.2.1
|
362
|
+
|
363
|
+
proglog==0.1.9
|
364
|
+
|
365
|
+
psycopg2==2.8.4
|
366
|
+
|
367
|
+
pyparsing==2.4.5
|
368
|
+
|
369
|
+
python-dateutil==2.8.1
|
370
|
+
|
371
|
+
pytz==2019.3
|
372
|
+
|
373
|
+
reppy==0.4.14
|
374
|
+
|
375
|
+
requests==2.22.0
|
376
|
+
|
377
|
+
scikit-learn==0.21.3
|
378
|
+
|
379
|
+
scipy==1.3.1
|
380
|
+
|
381
|
+
six==1.13.0
|
382
|
+
|
383
|
+
smmap2==2.0.5
|
384
|
+
|
385
|
+
sqlparse==0.3.0
|
386
|
+
|
387
|
+
stevedore==1.31.0
|
388
|
+
|
389
|
+
tqdm==4.38.0
|
390
|
+
|
391
|
+
unroll==0.1.0
|
392
|
+
|
393
|
+
urllib3==1.25.7
|
394
|
+
|
395
|
+
virtualenv==16.7.7
|
396
|
+
|
397
|
+
virtualenv-clone==0.5.3
|
398
|
+
|
399
|
+
virtualenvwrapper==4.8.4
|
400
|
+
|
401
|
+
whitenoise==4.1.4
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
```
|
11
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -247,3 +247,57 @@
|
|
247
247
|
error: failed to push some refs to 'https://git.heroku.com/test-app0011.git'
|
248
248
|
|
249
249
|
```
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
**追記3**
|
254
|
+
|
255
|
+
「git add. git commit」を再度行いましたら、エラー内容が変わりました。
|
256
|
+
|
257
|
+
```
|
258
|
+
|
259
|
+
Enumerating objects: 1023, done.
|
260
|
+
|
261
|
+
Counting objects: 100% (1023/1023), done.
|
262
|
+
|
263
|
+
Delta compression using up to 8 threads
|
264
|
+
|
265
|
+
Compressing objects: 100% (1004/1004), done.
|
266
|
+
|
267
|
+
Writing objects: 100% (1023/1023), 3.24 MiB | 107.00 KiB/s, done.
|
268
|
+
|
269
|
+
Total 1023 (delta 93), reused 0 (delta 0)
|
270
|
+
|
271
|
+
remote: Compressing source files... done.
|
272
|
+
|
273
|
+
remote: Building source:
|
274
|
+
|
275
|
+
remote:
|
276
|
+
|
277
|
+
remote: -----> Python app detected
|
278
|
+
|
279
|
+
remote: ! Requested runtime (python-3.7.3 python-3.7.5) is not available for this stack (heroku-18).
|
280
|
+
|
281
|
+
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
|
282
|
+
|
283
|
+
remote: ! Push rejected, failed to compile Python app.
|
284
|
+
|
285
|
+
remote:
|
286
|
+
|
287
|
+
remote: ! Push failed
|
288
|
+
|
289
|
+
remote: Verifying deploy...
|
290
|
+
|
291
|
+
remote:
|
292
|
+
|
293
|
+
remote: ! Push rejected to test-app0011.
|
294
|
+
|
295
|
+
remote:
|
296
|
+
|
297
|
+
To https://git.heroku.com/test-app0011.git
|
298
|
+
|
299
|
+
! [remote rejected] master -> master (pre-receive hook declined)
|
300
|
+
|
301
|
+
error: failed to push some refs to 'https://git.heroku.com/test-app0011.git'
|
302
|
+
|
303
|
+
```
|
10
追記及び修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -125,3 +125,125 @@
|
|
125
125
|
Requirement already satisfied: future in /Users/[username]/.pyenv/versions/3.7.5/lib/python3.7/site-packages (0.18.2)
|
126
126
|
|
127
127
|
```
|
128
|
+
|
129
|
+
**追記2**
|
130
|
+
|
131
|
+
以下は```git push heroku master````時の全ログになります。
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
Enumerating objects: 1020, done.
|
136
|
+
|
137
|
+
Counting objects: 100% (1020/1020), done.
|
138
|
+
|
139
|
+
Delta compression using up to 8 threads
|
140
|
+
|
141
|
+
Compressing objects: 100% (1002/1002), done.
|
142
|
+
|
143
|
+
Writing objects: 100% (1020/1020), 3.24 MiB | 221.00 KiB/s, done.
|
144
|
+
|
145
|
+
Total 1020 (delta 92), reused 0 (delta 0)
|
146
|
+
|
147
|
+
remote: Compressing source files... done.
|
148
|
+
|
149
|
+
remote: Building source:
|
150
|
+
|
151
|
+
remote:
|
152
|
+
|
153
|
+
remote: -----> Python app detected
|
154
|
+
|
155
|
+
remote: -----> Installing python-3.7.5
|
156
|
+
|
157
|
+
remote: -----> Installing pip
|
158
|
+
|
159
|
+
remote: -----> Installing SQLite3
|
160
|
+
|
161
|
+
remote: -----> Installing requirements with pip
|
162
|
+
|
163
|
+
remote: Collecting ansicolors==1.1.8 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 1))
|
164
|
+
|
165
|
+
remote: Downloading https://files.pythonhosted.org/packages/53/18/a56e2fe47b259bb52201093a3a9d4a32014f9d85071ad07e9d60600890ca/ansicolors-1.1.8-py2.py3-none-any.whl
|
166
|
+
|
167
|
+
remote: Collecting cachetools==3.1.1 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 2))
|
168
|
+
|
169
|
+
remote: Downloading https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1.1-py2.py3-none-any.whl
|
170
|
+
|
171
|
+
remote: Collecting certifi==2019.9.11 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 3))
|
172
|
+
|
173
|
+
remote: Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
|
174
|
+
|
175
|
+
remote: Collecting chardet==3.0.4 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 4))
|
176
|
+
|
177
|
+
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
|
178
|
+
|
179
|
+
remote: Collecting cycler==0.10.0 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 5))
|
180
|
+
|
181
|
+
remote: Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
|
182
|
+
|
183
|
+
remote: Collecting decorator==4.4.1 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 6))
|
184
|
+
|
185
|
+
remote: Downloading https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
|
186
|
+
|
187
|
+
remote: Collecting dj-database-url==0.5.0 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 7))
|
188
|
+
|
189
|
+
remote: Downloading https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl
|
190
|
+
|
191
|
+
remote: Collecting Django==2.2.7 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 8))
|
192
|
+
|
193
|
+
remote: Downloading https://files.pythonhosted.org/packages/a0/36/463632a2e9161a7e713488d719a280e8cb0c7e3a66ed32a32e801891caae/Django-2.2.7-py3-none-any.whl (7.5MB)
|
194
|
+
|
195
|
+
remote: Collecting django-heroku==0.3.1 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 9))
|
196
|
+
|
197
|
+
remote: Downloading https://files.pythonhosted.org/packages/59/af/5475a876c5addd5a3494db47d9f7be93cc14d3a7603542b194572791b6c6/django_heroku-0.3.1-py2.py3-none-any.whl
|
198
|
+
|
199
|
+
remote: Collecting ez-setup==0.9 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 10))
|
200
|
+
|
201
|
+
remote: Downloading https://files.pythonhosted.org/packages/ba/2c/743df41bd6b3298706dfe91b0c7ecdc47f2dc1a3104abeb6e9aa4a45fa5d/ez_setup-0.9.tar.gz
|
202
|
+
|
203
|
+
remote: Collecting FiPy==3.3 (from -r /tmp/build_c8e06546abf97c1bc21c0e780e00c581/requirements.txt (line 11))
|
204
|
+
|
205
|
+
remote: Downloading https://files.pythonhosted.org/packages/d5/44/71e621c7b06e3ef4f19b8e064d729b6f7378ae3c9a1ecaf66f0ad16e0cea/FiPy-3.3.tar.gz (714kB)
|
206
|
+
|
207
|
+
remote: Complete output from command python setup.py egg_info:
|
208
|
+
|
209
|
+
remote: Traceback (most recent call last):
|
210
|
+
|
211
|
+
remote: File "<string>", line 1, in <module>
|
212
|
+
|
213
|
+
remote: File "/tmp/pip-build-8fey8q1r/FiPy/setup.py", line 15, in <module>
|
214
|
+
|
215
|
+
remote: from _setup.build_docs import build_docs
|
216
|
+
|
217
|
+
remote: File "/tmp/pip-build-8fey8q1r/FiPy/_setup/build_docs.py", line 4, in <module>
|
218
|
+
|
219
|
+
remote: from future.utils import text_to_native_str
|
220
|
+
|
221
|
+
remote: ModuleNotFoundError: No module named 'future'
|
222
|
+
|
223
|
+
remote:
|
224
|
+
|
225
|
+
remote: ----------------------------------------
|
226
|
+
|
227
|
+
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8fey8q1r/FiPy/
|
228
|
+
|
229
|
+
remote: ! Push rejected, failed to compile Python app.
|
230
|
+
|
231
|
+
remote:
|
232
|
+
|
233
|
+
remote: ! Push failed
|
234
|
+
|
235
|
+
remote: Verifying deploy...
|
236
|
+
|
237
|
+
remote:
|
238
|
+
|
239
|
+
remote: ! Push rejected to test-app0011.
|
240
|
+
|
241
|
+
remote:
|
242
|
+
|
243
|
+
To https://git.heroku.com/test-app0011.git
|
244
|
+
|
245
|
+
! [remote rejected] master -> master (pre-receive hook declined)
|
246
|
+
|
247
|
+
error: failed to push some refs to 'https://git.heroku.com/test-app0011.git'
|
248
|
+
|
249
|
+
```
|
9
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -122,6 +122,6 @@
|
|
122
122
|
|
123
123
|
```
|
124
124
|
|
125
|
-
Requirement already satisfied: future in /Users/s
|
125
|
+
Requirement already satisfied: future in /Users/[username]/.pyenv/versions/3.7.5/lib/python3.7/site-packages (0.18.2)
|
126
126
|
|
127
127
|
```
|
8
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -115,3 +115,13 @@
|
|
115
115
|
remote: ! Push rejected, failed to compile Python app.
|
116
116
|
|
117
117
|
```
|
118
|
+
|
119
|
+
おそらくこちらのエラーなのですが、futureモジュールは入っているみたいです。```pip3 install future```の結果は、以下の通りです。
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
```
|
124
|
+
|
125
|
+
Requirement already satisfied: future in /Users/shinya/.pyenv/versions/3.7.5/lib/python3.7/site-packages (0.18.2)
|
126
|
+
|
127
|
+
```
|
7
修正及び追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,9 +78,13 @@
|
|
78
78
|
|
79
79
|
**追記です**
|
80
80
|
|
81
|
-
|
81
|
+
以下のコマンドは実行したと思っていたのですが、再度ご回答でご助言頂いた為、行いましたら、エラー内容が変わりました。
|
82
82
|
|
83
|
+
```
|
83
84
|
|
85
|
+
pip freeze > requirements.txt
|
86
|
+
|
87
|
+
```
|
84
88
|
|
85
89
|
|
86
90
|
|
6
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,6 +80,10 @@
|
|
80
80
|
|
81
81
|
```pip freeze > requirements.txt```こちらのコマンドは実行したと思っていたのですが、再度ご回答でご助言頂いた為、行いましたら、エラー内容が変わりました。
|
82
82
|
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
83
87
|
```
|
84
88
|
|
85
89
|
Complete output from command python setup.py egg_info:
|
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -73,3 +73,37 @@
|
|
73
73
|
|
74
74
|
|
75
75
|
※OSはmacOSMojaveを使用しております。
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
**追記です**
|
80
|
+
|
81
|
+
```pip freeze > requirements.txt```こちらのコマンドは実行したと思っていたのですが、再度ご回答でご助言頂いた為、行いましたら、エラー内容が変わりました。
|
82
|
+
|
83
|
+
```
|
84
|
+
|
85
|
+
Complete output from command python setup.py egg_info:
|
86
|
+
|
87
|
+
remote: Traceback (most recent call last):
|
88
|
+
|
89
|
+
remote: File "<string>", line 1, in <module>
|
90
|
+
|
91
|
+
remote: File "/tmp/pip-build-7nson9r1/FiPy/setup.py", line 15, in <module>
|
92
|
+
|
93
|
+
remote: from _setup.build_docs import build_docs
|
94
|
+
|
95
|
+
remote: File "/tmp/pip-build-7nson9r1/FiPy/_setup/build_docs.py", line 4, in <module>
|
96
|
+
|
97
|
+
remote: from future.utils import text_to_native_str
|
98
|
+
|
99
|
+
remote: ModuleNotFoundError: No module named 'future'
|
100
|
+
|
101
|
+
remote:
|
102
|
+
|
103
|
+
remote: ----------------------------------------
|
104
|
+
|
105
|
+
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7nson9r1/FiPy/
|
106
|
+
|
107
|
+
remote: ! Push rejected, failed to compile Python app.
|
108
|
+
|
109
|
+
```
|
4
追記及び修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,19 @@
|
|
54
54
|
|
55
55
|
と表示されたことから、既にインストール済みかと思われます。
|
56
56
|
|
57
|
+
他、試したこととしましては、[GitHub](https://github.com/gitpython-developers/GitPython/issues/643)のページを参考に``` pip install setuptools```を実行いたしました。結果は以下となります。
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
Requirement already satisfied: setuptools in /Users/[username]/.pyenv/versions/3.7.5/lib/python3.7/site-packages (42.0.0)
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
|
66
|
+
|
57
|
-
インストールされているにも関わらず
|
67
|
+
インストールされているにも関わらず何故エラーが発生してしまうか分からないといった状況です...
|
68
|
+
|
69
|
+
|
58
70
|
|
59
71
|
どなたか解決の為、ご助言頂けましたら幸いです。。
|
60
72
|
|
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
インストールされているにも関わらずこちらのエラーが発生してしまう原因がわからないです...
|
58
58
|
|
59
|
-
どなたか解決の為、ご助言頂け
|
59
|
+
どなたか解決の為、ご助言頂けましたら幸いです。。
|
60
60
|
|
61
61
|
|
62
62
|
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,9 @@
|
|
54
54
|
|
55
55
|
と表示されたことから、既にインストール済みかと思われます。
|
56
56
|
|
57
|
+
インストールされているにも関わらずこちらのエラーが発生してしまう原因がわからないです...
|
58
|
+
|
57
|
-
|
59
|
+
どなたか解決の為、ご助言頂ければ幸いです。。
|
58
60
|
|
59
61
|
|
60
62
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,3 +55,7 @@
|
|
55
55
|
と表示されたことから、既にインストール済みかと思われます。
|
56
56
|
|
57
57
|
エラーの原因がわからない為、どなたかご助言いただければ幸いです。。
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
※OSはmacOSMojaveを使用しております。
|