【发布时间】:2020-12-28 08:46:09
【问题描述】:
我有一个已完成的简单 django 博客应用程序,正在部署到 heroku。
我现在有一个实时应用程序,但我的静态 css 文件不包括在内。我认为我已经在我的 settings.py 文件中发现了(部分)问题,其中 django_heroku 无法导入。
当我尝试 pip install django-heroku 时,我在 psycopg2 处出错:
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
我似乎安装了自制软件,并且安装了最新版本的 gcc、openssl 和 xcode。
有人对我下一步可以尝试什么有任何建议吗?
【问题讨论】:
-
更受欢迎的重复问题:stackoverflow.com/questions/26288042/….
标签: python django xcode heroku psycopg2