我正在关注名为 Python - Get Started 的Heroku教程,但它不起作用。我正在使用Windows 7和名为“Heroku”的虚拟环境。以下是我遵循的步骤:
git clone git@github.com:heroku/python-getting-started.git
cd python-getting-started
pip install -r requirements.txt
python manage.py migrate
最后一个命令最后给出了以下错误:
django.core.exceptions.ImproperlyConfigured: 'django_postgrespool' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
u'base', u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: DLL load failed: The specified module could not be found.
我遵循风险,正如教程所说,所有软件包版本都是根据requirements.txt安装的。我做了教程所说的一切。为什么会发生这种错误,我该如何解决呢?
PS:我找到了this simmilar question,但是当我在那里发布时,标记为正确的答案并没有解决我的问题。该解决方案目前无效。