首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >部署到AWS失败,requirement.txt返回非零退出状态%1

部署到AWS失败,requirement.txt返回非零退出状态%1
EN

Stack Overflow用户
提问于 2020-08-08 00:24:09
回答 1查看 75关注 0票数 0

我是AWS的新手,也不是我自己部署的。谁能告诉我这里发生了什么,可能出了什么问题?

这是一个Django项目,它在本地运行得很好。我真的很感激任何关于从哪里开始寻找解决方案或关注什么的见解。error message

代码语言:javascript
复制
    Werkzeug==0.14.1  # pyup: < 0.15 # 

https://github.com/pallets/werkzeug
ipdb==0.12  # https://github.com/gotcha/ipdb
Sphinx==2.1.2  # https://github.com/sphinx-doc/sphinx
psycopg2-binary   # https://github.com/psycopg/psycopg2

# Testing
# ------------------------------------------------------------------------------

# Code quality
# ------------------------------------------------------------------------------
# flake8==3.7.7  # https://github.com/PyCQA/flake8
# coverage==4.5.3  # https://github.com/nedbat/coveragepy
black==19.3b0  # https://github.com/ambv/black
pylint-django==2.0.9  # https://github.com/PyCQA/pylint-django

# Django
# ------------------------------------------------------------------------------
factory-boy==2.12.0  # https://github.com/FactoryBoy/factory_boy

django-debug-toolbar==2.0  # https://github.com/jazzband/django-debug-toolbar
django-extensions==2.1.9  # https://github.com/django-extensions/django-extensions
django-coverage-plugin==1.6.0  # https://github.com/nedbat/django_coverage_plugin
pytest-django==3.5.0  # https://github.com/pytest-dev/pytest-django


pytz==2019.1  # https://github.com/stub42/pytz
python-slugify==3.0.2  # https://github.com/un33k/python-slugify
# Pillow==6.0.0  # https://github.com/python-pillow/Pillow
argon2-cffi==19.1.0  # https://github.com/hynek/argon2_cffi
redis==3.2.1  # https://github.com/antirez/redis

# Django
# ------------------------------------------------------------------------------
# django==2.2.2  # pyup: < 3.0  # https://www.djangoproject.com/
django-environ==0.4.5  # https://github.com/joke2k/django-environ
django-model-utils==3.2.0  # https://github.com/jazzband/django-model-utils
django-allauth==0.42.0  # https://github.com/pennersr/django-allauth
# django-crispy-forms==1.7.2  # https://github.com/django-crispy-forms/django-crispy-forms
django-redis==4.10.0  # https://github.com/niwinz/django-redis

# Django REST Framework
# djangorestframework==3.9.4  # https://github.com/encode/django-rest-framework
# coreapi==2.3.3  # https://github.com/core-api/python-client

#Djanfo Corsheaders
# django-cors-headers==3.0.2


# PRECAUTION: avoid production dependencies that aren't in development



gunicorn==19.9.0  # https://github.com/benoitc/gunicorn
Collectfast==0.6.2  # https://github.com/antonagestam/collectfast

# Django
# ------------------------------------------------------------------------------
django-anymail[mailgun]==6.0.1  # https://github.com/anymail/django-anymail

#boto3 

boto3==1.10.34    # https://github.com/boto/boto3

# wheel==0.34.2                   # Wheel
Django==3.0.7                   # Django package
pillow==6.2.2                   # Image manipulation
djangorestframework==3.10.3     # DRF framework
django-dbbackup==3.3.0          # Database backup / restore functionality
django-cors-headers==3.2.0      # CORS headers extension for DRF
django_filter==2.2.0            # Extended filtering options
django-mptt==0.11.0             # Modified Preorder Tree Traversal
django-markdownx==3.0.1         # Markdown form fields
django-markdownify==0.8.0       # Markdown rendering
coreapi==2.3.0                  # API documentation
pygments==2.2.0                 # Syntax highlighting
tablib==0.13.0                  # Import / export data files
django-crispy-forms==1.8.1      # Form helpers
django-import-export==2.0.0     # Data import / export for admin interface
django-cleanup==4.0.0           # Manage deletion of old / unused uploaded files
django-qr-code==1.2.0           # Generate QR codes
flake8==3.3.0                   # PEP checking
coverage==4.0.3                 # Unit test coverage
python-coveralls==2.9.1         # Coveralls linking (for Travis)
rapidfuzz==0.7.6                # Fuzzy string matching
django-stdimage==5.1.1          # Advanced ImageField management
django-tex==1.1.7               # LaTeX PDF export
django-weasyprint==1.0.1        # HTML PDF export
EN

回答 1

Stack Overflow用户

发布于 2020-08-08 01:23:06

你在"requirements.txt“中有一些依赖问题。我不能在这里测试你的应用程序,但请尝试这些,看看它是否有效:

  1. 确保将第3行https://github.com/pallets/werkzeug注释掉

python-slugify版本更改为python-slugify==4.0.1

  1. Add:text-unidecode==1.3

  1. Add:docutils==0.15.2
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63305717

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档