starkware-libs / cairo-lang

Apache License 2.0
1.34k stars 263 forks source link

Address naming conflict between Cairo-lang 0.11.0 binaries and Cairo 1.0 binaries #150

Open antazoey opened 1 year ago

antazoey commented 1 year ago

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.

bigbangbtc commented 1 year ago

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.