这是我的requirements.txt:
asgiref==3.3.1
boto3==1.17.23
botocore==1.20.23
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
cryptography==3.4.6
defusedxml==0.7.1
Django==3.1.7
django-allauth==0.44.0
django-cors-headers==3.7.0
django-rest-auth==0.9.5
djangorestframework==3.12.2
idna==2.10
jmespath==0.10.0
oauthlib==3.1.0
psycopg2==2.8.6
pycparser==2.20
PyJWT==2.0.1
python-dateutil==2.8.1
python3-openid==3.2.0
pytz==2021.1
requests==2.25.1
requests-oauthlib==1.3.0
s3transfer==0.3.4
six==1.15.0
sqlparse==0.4.1
urllib3==1.26.3我在日志中看到的主要错误消息是: postgresql95-devel不可用于安装。我可以在较旧的环境(Python3.6)中部署类似的requirements.txt,但由于某些原因,在Python3.8上部署失败。我甚至使用了在3.6中成功的相同deployment.zip,但在3.8中突然失败了。这是配置错误还是版本控制错误?不确定如何调试。
发布于 2021-03-09 15:59:39
这意味着没有安装PostgreSQL。请尝试安装它,然后重试。
https://stackoverflow.com/questions/66542823
复制相似问题