cairo-lang 0.11.0a creates binaries with the same names as the ones from Cairo 1.0 the Rust package (for example starknet-compile). If both are in your PATH, it gets confusing, and cairo-lang the Python package automatically adds them to your PATH when you pip install. The starknet-compile binary from Cairo 1.0 is the up-to-date one.
Suggestion: Rename or remove the binaries from cairo-lang 0.11.0a since the user most likely is using the Rust Cairo 1.0 binaries if they are in the 0.11.0 range.
Yeah, it's so confusing.
I struggled on this for a day to find out there are different. And the docs are outdated either.
So disappointed that it's not responded by anyone of the team.
cairo-lang 0.11.0a creates binaries with the same names as the ones from Cairo 1.0 the Rust package (for example
starknet-compile
). If both are in your PATH, it gets confusing, and cairo-lang the Python package automatically adds them to your PATH when youpip install
. Thestarknet-compile
binary from Cairo 1.0 is the up-to-date one.Suggestion: Rename or remove the binaries from cairo-lang 0.11.0a since the user most likely is using the Rust Cairo 1.0 binaries if they are in the 0.11.0 range.