smartcontractkit / full-blockchain-solidity-course-py

Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
MIT License
10.67k stars 2.89k forks source link

LESSON 4 error saying"solcx.exceptions.SolcNotInstalled: solc 0.6.0 has not been installed. #1851

Open chioke07 opened 1 year ago

chioke07 commented 1 year ago
Screenshot 2023-03-29 at 10 46 14 PM

Hello, I'm taking your course on smart contracts but I got stuck in lesson 4 where you print(compile_sol), anytime I deploy I get an error saying"solcx.exceptions.SolcNotInstalled: solc 0.6.0 has not been installed. Use solcx.install_solc('0.6.0') to install" how can I fix this? i use mac.

i have used all the information i saw online but still having the same issue, i have installed PIP and also install pip install py-solc-x .

please help how can i fix this

marginalfriend commented 9 months ago

I think it's just version issue where you've installed solcx but with different version. Try erasing the "solc_version="0.6.0""