fabric是instagram团队使用的自动化部署工具,花了一个早上试用了一下,一个hello world就遇到了各种问题。这里是在windows环境中进行的安装。
1.源码安装pycrypto不成功
提示:
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
解决:
1)setup.py install --skip-build
参考http://stackoverflow.com/questions/2261866/how-to-install-python-ssl-module-on-windows
2)使用msi或者exe文件来安装
2.找不到fab命令
fab.exe在python安装目录的Scripts目录,比如我的目录D:\Program Files\Python25\Scripts
找到后加入到环境变量Path中,即可使用fab来执行了。
3.执行fab提示找不到fabfiles
D:\>fab hello
Fatal error: Couldn't find any fabfiles!
Remember that -f can be used to specify fabfile path, and use -h for help.
Aborting.
原因:跟python的PYTHONPATH有关系,如果fabfile.py没有放在PYTHONPATH中,会提示找不到。
解决:使用-f指定文件
D:\>fab -f ./fabfile.py hello
分享到:
相关推荐
Hyperledger Fabric 1.2.0 platform-specific binaries for Windows Install Samples, Binaries and Docker Images中要下载的Binaries,官网非常难下
本文是fabric2.0的安装以及部署过程,解决了git clone相关库太过缓慢的问题
pip install fabric 安装是会出现如下报错,因为太多,我就不全部贴了,部分内容如下: src/MD2.c:31:20: 错误:Python.h:没有那个文件或目录 src/MD2.c:131: 错误:expected \u2018=', \u2018,', ‘;', ‘asm' or...
python编写fabric安装以及自动部署。
python2.6安装
该文档是从超级账本1.0版本开始到1.4,在环境搭建和配置当中,所遇到的各种大坑,做了一下汇总
IBM hyperledger fabric最新版本的安装手册,centos与ubuntu通用
区块链fabric1.0环境搭建手册,完整配置流程,以及启动脚本等
Hyperledger Fabric 搭建 mac and centos7 压缩包包含 1.boot2docker.iso version:17.09.1-ce 2.fabric 官方例子 3.mac and centos7 一键安装脚本
hyperledger-fabric-desktop-windows-x64.zip 超级账本fabric客户端Windows版。
hyperledger-fabric-ca-windows-amd64-1.1.0.tar.gz 官网速度真的很慢
hyperledger-fabric-windows-amd64-1.1.0.tar.gz 官网下载太慢了
在搭建hyperledger1.4的网络时需要下载所需的文件,这个文件在脚本中的地址已经失效。现在提供
fabric1.4安装部署,需要准备以下软件: VirtualBox ubuntu-18.04.1-desktop-amd64.iso go1.11.linux-amd64.tar.gz hyperledger-fabric-ca-linux-amd64-1.4.0.tar.gz hyperledger-fabric-linux-amd64-1.4.0.tar.gz
fabric二进制文件压缩包
fabric2.2,macos的二进制文件
在虚拟机Ubuntu上,部署hyperledger fabric 的环境搭建
windows版本的fabric-ca文件
安装和配置IBM刀片服务器BladeCenter Open Fabric Manager