Cargo: 找不到`Cargo.toml 或任何父目录

创建于 2017-05-12  ·  3评论  ·  资料来源: rust-lang/cargo

你好,

我正在 Win 10 32 位机器上安装 Parity。

我按照下载并按照此处的说明进行操作:

https://parity.io/parity.html

git clone https://github.com/paritytech/parity.git && cd parity

货物运行--释放

并得到错误:

C:\Program Files\Ethcore\Parity或任何父目录中找不到Cargo.toml

所有的cargo.toml 文件都在子目录中。

为什么货物在父目录中查找?

怎么修?

最有用的评论

嘿,我遇到了同样的错误。 但我意识到Pariti 集线器中的安装说明并不准确。 _Build from source_ 部分中的命令不会克隆存储库。

# download Parity code
$ git clone https://github.com/ethcore/parity
$ cd parity

如果您转到https://github.com/ethcore/parity,您将看到以下消息:

Moved to https://github.com/paritytech/parity

然后你应该运行以下命令来克隆项目:

$ git clone https://github.com/paritytech/parity.git

它对我有用。

所有3条评论

感谢报告! 你确定你正在进入奇偶校验目录吗? 存储库有一个顶级Cargo.toml ,所以理论上这会起作用

嘿,我遇到了同样的错误。 但我意识到Pariti 集线器中的安装说明并不准确。 _Build from source_ 部分中的命令不会克隆存储库。

# download Parity code
$ git clone https://github.com/ethcore/parity
$ cd parity

如果您转到https://github.com/ethcore/parity,您将看到以下消息:

Moved to https://github.com/paritytech/parity

然后你应该运行以下命令来克隆项目:

$ git clone https://github.com/paritytech/parity.git

它对我有用。

啊,那就行了,感谢@tregismoreira 的评论!

此页面是否有帮助?
0 / 5 - 0 等级