django - Dokku install libmemcached -


i trying deploy django application dokku.

my requirements.txt contains django-pylibmc requires pre-installed libmemcached. when push repo fails message:

remote:        in file included _pylibmcmodule.c:34:0: remote: remote:        _pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: no such file or directory remote: remote:        compilation terminated. remote: remote:        error: command 'gcc' failed exit status 1 remote: 

i thought solve using memcached plugin understand creates separate container memcached installed.

so question is: need make pip installation work? can somehow include apt-get install libmemcached step in dokku push?

found solution here. seems case heroku. answer states, problem heroku(dokku) python buildpacks requires explicit pylibmc specification in requirements.txt.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -