full-blockchain-solidity-course-py icon indicating copy to clipboard operation
full-blockchain-solidity-course-py copied to clipboard

Lesson 4: solcx import issue

Open verystochastic opened this issue 2 years ago • 3 comments

Hello! Is anyone out there?

I am struggling in Lesson 4 @ 3:41:58. The section where you write the import of solcx into your code:

from solcx import compile_standard, install_solc

Here is there error I see in VSC: (see attached img)

Screen Shot 2022-03-13 at 9 04 10 PM

I have hit a wall in the first deploy section of the lesson and feel it must be related to this.

I am on MAC OSX 11.6.4. Visual Studio Code. I am using "python3 deploy.py" to call the python.

Thank you!

verystochastic avatar Mar 14 '22 01:03 verystochastic

Did you install those packages ?

pip install py-solc-x pip install web3

7xAquarius avatar Mar 15 '22 14:03 7xAquarius

did you tryed to install it with the admin rights

mrhili avatar Jun 09 '22 19:06 mrhili

thank you for the reply. I missed this. Noob question but could you please tell me how to install with admin rights?

verystochastic avatar Jun 19 '22 14:06 verystochastic