Skip to content

The cargo command to install RustPython in the frontpage won't work #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aognio opened this issue Sep 24, 2024 · 2 comments
Closed

The cargo command to install RustPython in the frontpage won't work #74

aognio opened this issue Sep 24, 2024 · 2 comments

Comments

@aognio
Copy link

aognio commented Sep 24, 2024

One of the installation methods suggested is this:

cargo install --git https://github.com/RustPython/RustPython

But this command won't work, at least with cargo 1.79.0 (ffa9cf99a 2024-06-03) that asks to indicate the package name since there are multiple Cargo.toml files inside the repo.

This command instead seems to work well:

cargo install --git https://github.com/RustPython/RustPython rustpython

That's (I think) because the package name as defined in line 2 of the main Cargo.toml file of the repo is rustpython:

https://github.com/RustPython/RustPython/blob/main/Cargo.toml#L2

@aognio
Copy link
Author

aognio commented Sep 24, 2024

Also, mentioning that build needs to be with a nightly version of cargo is important.

@coolreader18
Copy link
Member

I can't seem to reproduce a build failure on non-nightly compilers, but I've updated the installation instructions! Thanks for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants