code: def _load(cls, path):
          
          assert os.path.basename(path) == 'site-packages'
          bytesIO = BytesIO()
          with ZipFile(file=bytesIO, mode='w') as zipFile:
              for dirName, _, fileList in os.walk(path):
                  zipFile.write(dirName)
                  for fileName in fileList:
                      fullPath = os.path.join(dirName, fileName)
                      zipFile.write(fullPath, os.path.relpath(fullPath, path))
          bytesIO.seek(0)
          return bytesIO
docs: :type path: str