--When I ran pipenv install django-heroku, I got the following error:
$ pipenv install django-heroku
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
ERROR: package installation failed
--postgresql is already installed.
――As a result of various investigations, I found that it was said that "There is no openssl!", So when I investigated the area, I was able to solve it by the following method.
--I was able to solve it in my case with the following command.
$ xcode-select --install
$ env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pipenv install psycopg2
[Package installation failed - psycopg2 in OsX] (https://stackoverflow.com/questions/55922840/package-installation-failed-psycopg2-in-osx) [Can't install psycopg2 package through pip install… Is this because of Sierra?] (https://stackoverflow.com/questions/39767810/cant-install-psycopg2-package-through-pip-install-is-this-because-of-sierra)
――There was a site that could be helpful as a by-product of this error, so I will paste it for the time being.
[Official documentation (around Git)] (https://devcenter.heroku.com/articles/git#deploying-code) Page to see before giving up because I can't push on Pyhton Heroku What to review if deploying Django to Heroku causes an application error
Regarding deploying on Heroku, it seems that there are various errors and it may not work. For example, if you finish various settings and try to push, you can't do it ... I'm glad that I managed to solve it myself while checking it on overseas sites.
Recommended Posts