2015-02-04 9 views
0

나는 Heroku가에 셀러리 노동자를 실행하고있어 작업자를 시작할 때 나는 항상 오류 얻을 :heroku에 gdbm 모듈을 어떻게 설치합니까?

$ heroku run python 
Running `python` attached to terminal... up, run.1960 
Python 2.7.8 (default, Jul 9 2014, 20:47:08) 
[GCC 4.4.3] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import gdbm 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
ImportError: No module named gdbm 
>>> exit() 
: Heroku가에서 파이썬을 실행하고 GDBM을 가져올 시도하여

ImportError: No module named gdbm 

나는이 문제를 확인했습니다를

어떻게이 모듈을 영웅에 설치할 수 있습니까? requirements.txt에 특정 패키지를 추가해야합니까? 그렇다면 어떤 버전입니까?

도움 주셔서 감사합니다.

답변

0

는 Heroku가 문서에 따르면이 파일 시스템 데이터베이스 https://devcenter.heroku.com/articles/read-only-filesystem

The following types of behaviors are not supported:

  • Caching pages in the public directory
  • Saving uploaded assets to local disk (e.g. with attachment_fu or - paperclip)
  • Writing full-text indexes with Ferret
  • Writing to a filesystem database like SQLite or GDBM
  • Accessing a git repo for an app like git-wiki
를 사용하는 것은 불가능합니다