hangal2012 / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
1 stars 0 forks source link

Frontend pacjage has been deprecated #141

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install all following installation guide on Ubuntu 12.04
2. run androlyze.py

./androlyze.py -i samples/Fakemart.apk 
/usr/local/lib/python2.7/dist-packages/ipython-1.1.0-py2.7.egg/IPython/frontend.
py:30: UserWarning: The top-level `frontend` package has been deprecated. All 
its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "

Original issue reported on code.google.com by marc.c...@gmail.com on 22 Oct 2013 at 10:32

GoogleCodeExporter commented 8 years ago
It appears that androlyze.py is calling using an old way to call the package:

from IPython.frontend.terminal.embed import InteractiveShellEmbed

The warning disappears if you change it to the following:

from IPython.terminal.embed import InteractiveShellEmbed

Original comment by apocryph...@gmail.com on 4 Nov 2013 at 1:51

GoogleCodeExporter commented 8 years ago
Change to "IPython.terminal.embed import InteractiveShellEmbed" in 
androlyze.py. Yes it works. Thank you ! 

Original comment by brigan...@gmail.com on 13 Apr 2015 at 1:32