0


关于使用hyperbeach出现/bin/sh: 1: packr2: not found的解决方案

最近在测试趣链的区块链性能测试工具: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

再次执行就可以生成二进制文件了


本文转载自: https://blog.csdn.net/lakersssss24/article/details/125991390
版权归原作者 keep_top 所有, 如有侵权,请联系我们删除。

“关于使用hyperbeach出现/bin/sh: 1: packr2: not found的解决方案”的评论:

还没有评论