最近在测试趣链的区块链性能测试工具:GitHub - meshplus/hyperbench: hyperbench is a distributed stress testing tool, used to perform stress testing on blockchain platformshyperbench is a distributed stress testing tool, used to perform stress testing on blockchain platforms - GitHub - meshplus/hyperbench: hyperbench is a distributed stress testing tool, used to perform stress testing on blockchain platformshttps://github.com/meshplus/HyperBench这是链接,在进行到这一步的时候报错了:
这里显示是packr2没有安装,我们去github上下载packr2的二进制文件并且配置到环境变量中去:
Release v2.8.1 · gobuffalo/packr · GitHubThe simple and easy way to embed static files into Go binaries. - Release v2.8.1 · gobuffalo/packrhttps://github.com/gobuffalo/packr/releases/tag/v2.8.1
下载linux版本的二进制文件:
解压出来可以看到有运行文件:
把他挪到linux下面:
再进行环境变量的配置:
vim ~/.profile
然后载入环境变量:
source ~/.profile
再次执行就可以生成二进制文件了
京公网安备 11010502049817号