Memcached on Heroku w/ Django : can't install pylibmc / memcacheify

后端 未结 4 585
自闭症患者
自闭症患者 2021-02-05 12:45

I\'ve spent a lot of time on this and it\'s clearly beyond my newbie understanding/skills. I tried to install django-heroku-memcacheify with pip install, which throws errors. I

4条回答
  •  爱一瞬间的悲伤
    2021-02-05 13:02

    I've talked to the friendly folks at Heroku and it seems like my requirements.txt setup was causing all the havoc. Don't use a requirements file in root that imports from another requirements file! At least for pylibmc that's not working because libmemcached doesn't get bootstrapped if there is no explicit line with pylibmc in the root requirements file. I hope this will help others avoid wasting the 10 hrs I've spent on this problem. Yay!

提交回复
热议问题