T
T
The-TS2021-06-14 20:56:30
Heroku
The-TS, 2021-06-14 20:56:30

How to install libgpgme on Heroku?

Hey!
I want to host my Django app on Heroku. Only now I need to download dependencies from mine requirements.txt, there is gpg there and it does not want to be installed. Here's what he says:

remote:        Collecting gpg==1.10.0
remote:          Downloading gpg-1.10.0.tar.gz (39 kB)
remote:            ERROR: Command errored out with exit status 1:
remote:             command: /app/.heroku/python/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6exp_35v/gpg/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6exp_35v/gpg/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-be0lvrsd
remote:                 cwd: /tmp/pip-install-6exp_35v/gpg/
remote:            Complete output (1 lines):
remote:            Could not find gpgme-config.  Please install the libgpgme development package.
remote:            ----------------------------------------
remote:        ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


Yes, I tried installing libgpgme, and this is the problem:
~ $ apt-get install libgpgme-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to locate package libgpgme-dev
~ $

What to do?
Thank you!

PS : All code requirements.txtcan be found in the repository on GitHub

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question