Anything accessed from within a compressed archive (such as zips, rars, tar.gzs, etc...) need to be decompressed first before you access them.
That being said, you should not have your recourse files in a zip because decompressing it every time to want to access something is slow, and difficult. Your resource files should be in a normal directory, not an archive.
The reason why you're getting this error is because it's looking for a folder named library.zip
and it's not finding one because library.zip
is not a folder, it's a file.
How I would suggest to combat this error is to extract everything into a folder named library
and to change in your code anywhere that library.zip
exists to library
.