我正在尝试在我拥有的django应用程序中使用mdbtools。我在requirements.txt文件中包含了以下两行:
mdbtools-dev
mdbtools
但遇到了一些错误:
....
Requirement already satisfied (use --upgrade to upgrade): stripe in ./lib/python2.7/site-packages (from -r requirements.txt (line 7))
Downloading/unpacking mdbtools-dev (from -r requirements.txt (line 8))
Could not find any downloads that satisfy the requirement mdbtools-dev (from -r requirements.txt (line 8))
No distributions at all found for mdbtools-dev (from -r requirements.txt (line 8))
Storing complete log in /app/.pip/pip.log
! Heroku推送被拒绝,无法编译Python应用程序
我sudo apt-get安装mdbtools和mdbtools-dev没有问题。有谁知道发生了什么事?
答案 0 :(得分:1)
requirements.txt
文件不适用于一般系统要求 - 它仅适用于您的应用程序所必需的Python库。
由于没有名为mdbtools
的Python包,您将收到该错误。