Heroku Push错误1-没有名为'mp_compile'的模块

时间:2018-10-23 13:28:02

标签: heroku

我试图在Heroku上推送一个应用程序,但出现了这个难看的错误。我该怎么做才能解决此问题?

remote: -----> Installing python-3.6.6
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote:        Obtaining file:///tmp/build_cf02318669eb4ea788c7d3d16925c7a8 (from -r /tmp/build_cf02318669eb4ea788c7d3d16925c7a8/requirements.txt (line 1))
remote:            Complete output from command python setup.py egg_info:
remote:            Traceback (most recent call last):
remote:              File "<string>", line 1, in <module>
remote:              File "/tmp/build_cf02318669eb4ea788c7d3d16925c7a8/setup.py", line 26, in <module>
remote:                import mp_compile
remote:            ModuleNotFoundError: No module named 'mp_compile'
remote:            
remote:            ----------------------------------------
remote:        Command "python setup.py egg_info" failed with error code 1 in /tmp/build_cf02318669eb4ea788c7d3d16925c7a8/
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 

这是我的requirements.txt中的列表:

certifi==2018.8.24
chardet==3.0.4
dj-database-url==0.4.2
Django==2.0.1
django-crispy-forms==1.7.0
django-pagedown==1.0.6
idna==2.6
Pillow==5.0.0
psycopg2==2.7.3.2
python-http-client==3.1.0
pytz==2017.3
requests==2.18.4
sendgrid==5.6.0
urllib3==1.22
whitenoise==4.1

0 个答案:

没有答案