-
| I keep getting this error. anyone know what I can do about this. I just got to the point where I am using Visual Studio Code, and this error seems to one that can jack up an entire contract. I downloaded all of the dependencies and troubleshooting to get rid of all of the errors that were coming up during installation. I've been working on this for about two hours now, and I need some help. 
 Update when I try to deploy | 
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
| I did not fix this issue, however, I was able to run deploy.py | 
Beta Was this translation helpful? Give feedback.
-
| Hello @yarg-eth did you change the python interpreter on vscode (bottom left corner) and choose the one you have solc-x installed on? | 
Beta Was this translation helpful? Give feedback.
-
| As far as I can tell the plug in is 'broken' with higher versions of Python. If I can figure out a virtual environment with an earlier version (3.8 maybe) it might work. There's no indication that anyone is working on a fix for this so a note should be added to the video regarding what version of Pythons it works with | 
Beta Was this translation helpful? Give feedback.
-
| Can anyone assist? I keep getting the following error: \demos\web3_py_simplestorage\deploy.py", line 1, in  Had this resolved and then it came back, cant continue the course for the time being. from solcx import compile_standard, install_solc from web3 import Web3 install_solc("0.6.0") with open("./SimpleStorage.sol", "r") as file: compiled_sol = compile_standard( with open("compiled_code.json", "w") as file: bytecode = compiled_sol["contracts"]["SimpleStorage.sol"]["SimpleStorage"]["evm"][ abi = compiled_sol["contracts"]["SimpleStorage.sol"]["SimpleStorage"]["abi"] w3 = Web3(Web3.HTTPProvider("HTTP://127.0.0.1:7545")) SimpleStorage = w3.eth.contract(abi=abi, bytecode=bytecode) | 
Beta Was this translation helpful? Give feedback.
Hello @yarg-eth did you change the python interpreter on vscode (bottom left corner) and choose the one you have solc-x installed on?