Closed daweth closed 2 years ago
Hey @daweth, this usually happens if you have another version of solc
installed on your machine. Can you share the output of which solc
?
/home/me/.nix-profile/bin/solc
Ah, seems like I have this from Nix (dapptools maybe?)
How would I change to a different solc directory?
@daweth what does your $PATH look like? If you used system Python to install solc-select
then most probably ~/.nix-profile/bin/
takes precedence over the Python executables path. I don't know what do you want to achieve but if you have Nix installed already you can try solc-select
in nix-shell with nix-shell -p python3Packages.solc-select
.
Hey @daweth, we're closing this issue as @arcz provided fixes for the Python path. Please reopen or create a new issue if you experience this again. Thanks!
solc-select use 0.7.6
andSOLC_VERSION=0.7.6
do not change the result of
solc --version