go - code.google.com/p/go.crypto/pbkdf2 文件未找到?

标签 go mercurial

我想制作 juju charm-store 服务器,但是当我尝试构建/安装时,它给了我这个错误:

imports code.google.com/p/go.crypto/pbkdf2: exec: "hg": executable file not found

可以找到 charm-store 存储库 here (github)。

我还尝试使用以下命令获取包,但失败了:

go get -u -v -t github.com/juju/charmstore/.. .

有人知道如何解决这个问题吗?

最佳答案

这意味着依赖项之一(此处 code.google.com/p/go.crypto/pbkdf2 )位于 Mercurial repo 中.

您需要install Mercurial以便 go getmake 完成该过程。
例如,on Ubuntu :

sudo apt-get install mercurial meld

注意:go 1.4(2014 年第 4 季度)将 rename that packagegolang.org/x/crypto

关于go - code.google.com/p/go.crypto/pbkdf2 文件未找到?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25283997/

相关文章:

go - VSCode 是如何发现这个 Go linting 问题的?我该如何忽略它?

go - 对于字符串 slice 的循环迭代不起作用

http - 如何在 Go 中删除 cookie

go - 为什么调试的时候加了 "-a"

mercurial - 如何让 hg 在 cygwin/windows 上提示输入我的 HTTP 身份验证用户名/密码?

mercurial - 符合 MSSCCI 标准的 Mercurial 客户端

mercurial - 在 centos 上使用 Tortoisehg 将提交推送到 mercurial

version-control - Mercurial 存储库 URL 等效于 SVN 信息

svn - 从 Clearcase 迁移

python - Golang 和 Python 执行 http 请求的方法之间的根本区别?