Mysterie / uncompyle2

uncompyle2
642 stars 148 forks source link

Get error: TypeError: main() takes at most 8 arguments (10 given) #18

Closed lzq8272587 closed 10 years ago

lzq8272587 commented 10 years ago

HI, everyone:

I try to install uncompyle2 by using "python setup.py install"

and after that I use "uncompyle2 file.pyc" to decompile.

BUT I got this error:

2013.12.30 11:26:17 CST

Traceback (most recent call last): File "/usr/local/bin/uncompyle2", line 166, in showasm, showast, do_verify, py, deob) TypeError: main() takes at most 8 arguments (10 given)

My OS is Ubuntu13.10. May anyone offer me some tips to address this problem?

Thanks!!

Mysterie commented 10 years ago

You don't have to use the binary but instead use :

python2.7 ./scripts/uncompyle2 your/file.pyc