0

I've been trying to run androguard on Ubuntu 13.10 I have downloaded the zlib library and placed it in the correct path While running the file apk.py , which has

from zlib import crc32

it returns an error saying

Cannot import name crc32

The zlib directory contains a file crc32.c and crc32.h along with crc32.o How can I fix the import error?

Ray
  • 2,472
  • 18
  • 22

1 Answers1

0

You need to delete or rename the zlib folder - otherwise python might try to import something from there instead of the stdlib package named zlib.

ThiefMaster
  • 310,957
  • 84
  • 592
  • 636