Python ModuleNotFoundError:没有名为';bigchaindb#u驱动程序';

Python ModuleNotFoundError:没有名为';bigchaindb#u驱动程序';,python,django,ipdb,bigchaindb,Python,Django,Ipdb,Bigchaindb,我在Python3.6.3和Windows7中使用Django。我正在尝试安装BigchainDB驱动程序,并希望使用IPDB。 我运行了这个pip安装bigchaindb,我猜它执行成功了。 我像那样从bigchaindb\u驱动程序导入bigchaindb\u驱动程序导入bigchaindb。但是当我使用python manage.py runserver运行服务器时,它给出了这个错误。 ModuleNotFoundError:没有名为“bigchaindb\u驱动程序”的模块 我的代码如下

我在Python3.6.3和Windows7中使用Django。我正在尝试安装BigchainDB驱动程序,并希望使用IPDB。 我运行了这个
pip安装bigchaindb
,我猜它执行成功了。 我像那样从bigchaindb\u驱动程序导入bigchaindb\u驱动程序导入bigchaindb。但是当我使用
python manage.py runserver
运行服务器时,它给出了这个错误。 ModuleNotFoundError:没有名为“bigchaindb\u驱动程序”的模块

我的代码如下所示:

我的问题是:

  • 如果我想使用IPDB,我还必须在本地机器上安装bigchainDB
  • 在bigchainDB上启动一个项目具体需要什么,因为我已经安装了MongoDB和RejectionDB,但我不知道是否需要它们

您还需要使用
pip安装BigchainDB\u驱动程序安装BigchainDB Python驱动程序

在Python代码中,bigchaindb\u驱动程序import bigchaindb>
行末尾不应该有
,即它应该是:

从bigchaindb\u驱动程序导入bigchaindb


更多信息:

您确定
bigchaindb
是要安装的正确软件包吗。尝试
bigchaindb\u驱动程序
“pip3安装bigchaindb”将只安装bigchaindb。如果要从python连接bigchain DB,则需要安装python bigchain DB驱动程序。首先安装依赖项libffi和libssl dev,然后安装驱动程序“pip3安装bigchaindb_驱动程序”
import os
from bigchaindb_driver import BigchainDB> 
tokens = {}
tokens['app_id'] = 'my-app-id'
tokens['app_key'] = 'my-apy-key'
bdb = BigchainDB('https://test.ipdb.io', headers=tokens)