OSError: /opt/homebrew/opt/gdal/lib/libgdal.dylib: невозможно открыть файл разделяемого объекта: Нет такого файла или каталога
Я пытаюсь развернуть веб-приложение, использующее библиотеки GDAL. Я следовал документации heroku, относящейся к GDAL и Heroku здесь и здесь. Мои buildpacks следующие:
=== vygrapp Buildpack URLs
1. https://github.com/heroku/heroku-geo-buildpack.git
2. heroku-community/apt
3. heroku/python
Когда я развертываю свое приложение через heroku, я получаю следующее сообщение:
Далее в журналах развертывания говорится о том, что GDAL установлен:
remote: -----> Geo Packages (GDAL/GEOS/PROJ) app detected
remote: -----> Installing GDAL-2.4.0
remote: -----> Installing GEOS-3.7.2
remote: -----> Installing PROJ-5.2.0
[...]
remote: Building wheel for GDAL (setup.py): started
remote: Building wheel for GDAL (setup.py): finished with status 'done'
remote: Created wheel for GDAL: filename=GDAL-2.4.0-cp39-cp39-linux_x86_64.whl size=3556067 sha256=0d4572a90907fb1fc9ded7caf5dea8915fe7bb90a00af90729e0749e6c2363c5
remote: Stored in directory: /tmp/pip-ephem-wheel-cache-cpgmk7j0/wheels/d2/33/ed/d3e3985670395e432ebb1d410ab8675e624d391865ebc0bcfd
remote: Successfully built bs4 django-allauth django-bootstrap-modal-forms psycopg2 GDAL
remote: Installing collected packages: pycparser, urllib3, idna, charset-normalizer, cffi, certifi, sqlparse, soupsieve, requests, PyJWT, oauthlib, defusedxml, cryptography, asgiref, whitenoise, requests-oauthlib, pytz, python3-openid, psycopg2-binary, psycopg2, Django, dj-database-url, beautifulsoup4, gunicorn, GDAL, djangorestframework, django-widget-tweaks, django-on-heroku, django-heroku, django-bootstrap-modal-forms, django-allauth, bs4
remote: Successfully installed Django-4.0.1 GDAL-2.4.0 [...]
Мой requirements.txt
asgiref==3.4.1
beautifulsoup4==4.10.0
bs4==0.0.1
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.10
cryptography==36.0.1
defusedxml==0.7.1
dj-database-url==0.5.0
Django==4.0.1
django-allauth==0.47.0
django-bootstrap-modal-forms==2.2.0
django-heroku==0.3.1
django-on-heroku==1.1.2
django-widget-tweaks==1.4.11
djangorestframework==3.13.1
gunicorn==20.1.0
idna==3.3
oauthlib==3.1.1
psycopg2==2.9.3
psycopg2-binary==2.9.3
pycparser==2.21
PyJWT==2.3.0
python3-openid==3.2.0
pytz==2021.3
requests==2.27.1
requests-oauthlib==1.3.0
soupsieve==2.3.1
sqlparse==0.4.2
urllib3==1.26.8
whitenoise==5.3.0
GDAL==2.4.0
Я не могу разобраться с этой ошибкой