Hyperledger sawtooth python中的sawtooth rest api安装错误

Hyperledger sawtooth python中的sawtooth rest api安装错误,hyperledger-sawtooth,Hyperledger Sawtooth,到目前为止,我一直在尝试,安装了ubuntu软件包 sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6 sudo apt install build-essential automake pkg-config libtool libffi-dev libgmp-dev sudo apt install libsecp256k1-dev sudo

到目前为止,我一直在尝试,安装了ubuntu软件包

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
sudo apt install build-essential automake pkg-config libtool libffi-dev
  libgmp-dev
sudo apt install libsecp256k1-dev
sudo apt-get install python3.6-dev

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD
sudo add-apt-repository 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe'
sudo apt update
sudo apt-get install sawtooth python3-sawtooth-sdk
sudo apt-get install python3-sawtooth-rest-api
然后在virtualenv中,我安装了 pipenv安装锯齿sdk 管道安装锯齿支撑api 收集锯齿波

Error:  An error occurred while installing sawtooth_rest_api!
    Could not find a version that satisfies the requirement sawtooth_rest_api (from versions: )
  No matching distribution found for sawtooth_rest_api
注: 我正在尝试使用sawtooth marketplace,在这段时间里,他们直接连接到验证器,而不是向RESTAPI提交批处理

 from sawtooth_rest_api.messaging import Connection
 app.config.VAL_CONN = Connection(app.config.VALIDATOR_URL)

将python3 sawtooth sdk安装为python包后,无法在python中导入sawtoth rest api以使sawtooth marketplace正常工作。

rest api位于包
python3 sawtooth rest api

我会先安装Sawtooth:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD
sudo add-apt-repository 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe'
sudo apt update
aptitude install sawtooth python3-sawtooth-*
有关详细安装信息,请参阅


没有锯齿形静止api。。。当您安装锯齿组件(例如通过Docker compose或native)时,它将安装REST API处理器。你想做什么也许还有另一个方面可以帮助你。我正在尝试使用,在rest\u api/main.py中有一个来自sawtooth\u rest\u api的导入语句。消息传递导入连接我不知道如何实现这一点?该包在Docker文件中获取(假设你在Docker中运行此程序)在设置deb repo之后:`'deb xenial universe'>>/etc/apt/sources.list`我在ubuntu上单独安装了python3 sawtooth rest api,但它在python模块中仍然显示错误。