Skip to content

Lesson 4: File is not a zip file #769

Answered by cromewar
AmiyoKC asked this question in Q&A
Discussion options

You must be logged in to vote

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 line zipFileContainer.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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AmiyoKC
Comment options

@cromewar
Comment options

Answer selected by AmiyoKC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants