首页 > 解决方案 > 无法安装超级账本 indy-node 的开发设置

问题描述

我正在尝试使用此链接在我的系统上安装 dev-setup

https://github.com/hyperledger/indy-node/blob/master/docs/source/setup-dev.md

作为指南,我现在在执行命令时遵循了所有步骤,但pip install -e .[tests]出现错误:failed to build wheels for leveldb, ujson, python-rocksdb, sha3, psutil, orderedset..

我尝试python3 setup.py bdist_wheel执行此命令,但随后无法运行下一个命令

Building wheels for collected packages: leveldb, ujson, python-rocksdb, sha3, psutil, orderedset
  Building wheel for leveldb (setup.py) ... error
  ERROR: Complete output from command /home/richa/test/bin/python3.5 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-cwvzh10g/leveldb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ufgtvm7j --python-tag cp35:
  ERROR: running bdist_wheel

标签: pythonpython-3.xhyperledger-indy

解决方案


该指南中容易遗漏的步骤包括:

  • 激活虚拟环境source activate
  • 安装轮子pip install wheel

推荐阅读