-
When I run python deploy.py in the terminal window, I get the following error message. Any ideas how to get past this? this comes from the first line of the code (from solcx import compile_standard, install_solc) PS C:\Users\amiyo\demos\web3_py_simple_storage> python deploy.py |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @AmiyoKC this is a rare error on python but also well known, this means your zip file which contains Solcx is corrupted (may be due to a network failure) the solution is complicated actually, you should do a My suggestion is you to reinstall python, and also choose version 3.8 is the most stable for brownie development. |
Beta Was this translation helpful? Give feedback.
Hello @AmiyoKC this is a rare error on python but also well known, this means your zip file which contains Solcx is corrupted (may be due to a network failure) the solution is complicated actually, you should do a
rfind
of the package and then add\x00\x00
on this linezipFileContainer.write('\x00\x00')
which is a pain to do.My suggestion is you to reinstall python, and also choose version 3.8 is the most stable for brownie development.