建立sovrin失败

时间:2019-07-05 05:54:26

标签: hyperledger

我克隆了sovrin存储库https://github.com/sovrin-foundation/sovrin,并尝试通过发出以下命令来构建它。

sudo python setup.py安装

我收到如下错误消息,

错误:安装脚本退出,错误:SandboxViolation:mkdir('/ home / user1 / .indy',511){}

下面提到了完整的控制台日志,

user1@user1-ThinkPad-X1-Carbon-5th:~/git/sovrin$ sudo python setup.py install
[sudo] password for user1: 
running install
running bdist_egg
running egg_info
writing sovrin_dev.egg-info/PKG-INFO
writing dependency_links to sovrin_dev.egg-info/dependency_links.txt
writing requirements to sovrin_dev.egg-info/requires.txt
writing top-level names to sovrin_dev.egg-info/top_level.txt
reading manifest file 'sovrin_dev.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'sovrin_dev.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/pool_transactions_live_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/pool_transactions_local_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/pool_transactions_sandbox_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/pool_transactions_builder_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/__metadata__.py -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/domain_transactions_sandbox_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/domain_transactions_live_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/__init__.py -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/domain_transactions_local_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/domain_transactions_builder_genesis -> build/bdist.linux-x86_64/egg/sovrin
copying build/lib/sovrin/pool_transactions_training_genesis -> build/bdist.linux-x86_64/egg/sovrin
byte-compiling build/bdist.linux-x86_64/egg/sovrin/__metadata__.py to __metadata__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/sovrin/__init__.py to __init__.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying sovrin_dev.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying sovrin_dev.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying sovrin_dev.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying sovrin_dev.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying sovrin_dev.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/sovrin_dev-1.1-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing sovrin_dev-1.1-py3.6.egg
Removing /home/user1/anaconda3/lib/python3.6/site-packages/sovrin_dev-1.1-py3.6.egg
Copying sovrin_dev-1.1-py3.6.egg to /home/user1/anaconda3/lib/python3.6/site-packages
sovrin-dev 1.1 is already the active version in easy-install.pth

Installed /home/user1/anaconda3/lib/python3.6/site-packages/sovrin_dev-1.1-py3.6.egg
Processing dependencies for sovrin-dev==1.1
Searching for indy-node==1.7.0.dev906
Reading https://pypi.python.org/simple/indy-node/
Downloading https://files.pythonhosted.org/packages/b3/51/a264841ddee7269e0c89f734300b71760dd7868ed4d8005865933b1245e7/indy-node-1.7.0.dev906.tar.gz#sha256=aff5bdb0cabb494b096ddcd2ce55a80937b4f33713a6a12580e493bede8d0a64
Best match: indy-node 1.7.0.dev906
Processing indy-node-1.7.0.dev906.tar.gz
Writing /tmp/easy_install-ywk87gol/indy-node-1.7.0.dev906/setup.cfg
Running indy-node-1.7.0.dev906/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ywk87gol/indy-node-1.7.0.dev906/egg-dist-tmp-za7ovcpv
error: Setup script exited with error: SandboxViolation: mkdir('/home/user1/.indy', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

0 个答案:

没有答案