GithubHelp home page GithubHelp logo

Comments (16)

nyx0 avatar nyx0 commented on September 7, 2024

With macOS 10.14 Apple introduced Full Disk Access (FDA) so you probably need to add IDA to the list.
System Preferences>Security & Privacy>Privacy>Full Disk Access>unlock and drag & drop ida.app into the list.

from ipyida.

AlixAbbasi avatar AlixAbbasi commented on September 7, 2024

Giving full disk access yields the same result. Any idea?

from ipyida.

nyx0 avatar nyx0 commented on September 7, 2024

In the output window in IDA if you try to
import ipyida
what import error do you have?

from ipyida.

AlixAbbasi avatar AlixAbbasi commented on September 7, 2024

Hmm, interesting, looks fine with the import.

[+] ipyida.py added to user plugins

[WARN] Could not load IPyIDA plugin. ipyida Python package doesn't seem to be installed.
/Users/unknown/.idapro/plugins/ipyida.py: undefined function __plugins__ipyida.PLUGIN_ENTRY

[🍺] IPyIDA Installation successful. Use <Shift+.> to open the console.

Python>import ipyida

Python>

from ipyida.

nyx0 avatar nyx0 commented on September 7, 2024

add the line raise e after the print in /Users/unknown/.idapro/plugins/ipyida.py and relaunch IDA Pro

try:
    from ipyida.ida_plugin import PLUGIN_ENTRY, IPyIDAPlugIn
except ImportError as e:
    print "[WARN] Could not load IPyIDA plugin. ipyida Python package " \
          "doesn't seem to be installed."
    raise e

from ipyida.

marc-etienne avatar marc-etienne commented on September 7, 2024

Seems like pip user-install installs packages to a path that is not in sys.path. Please give the output of sys.path.

from ipyida.

AlixAbbasi avatar AlixAbbasi commented on September 7, 2024

Surprisingly, after installation (not properly though) of this package the IDA also hangs for few seconds every time you open it. This behaviour continues even if you remove the package.

from ipyida.

marc-etienne avatar marc-etienne commented on September 7, 2024

I'd check ~/.idapro/idapythonrc.py file. Do you have any other plugins in ~/.idapro/plugins?

from ipyida.

AlixAbbasi avatar AlixAbbasi commented on September 7, 2024

Where is the exact path for idapythonrc.py. I do not have any other plugin. I do not have a file named idapythonrc.py in the ~/.idapro/ path.

from ipyida.

marc-etienne avatar marc-etienne commented on September 7, 2024

It's possible you don't have one. The output of sys.path could really help here.

from ipyida.

AlixAbbasi avatar AlixAbbasi commented on September 7, 2024

Here is sys.path output.

Python>import sys
print(sys.path)
['/Applications/IDA Pro 7.2/ida.app/Contents/MacOS/python/lib/python2.7/lib-dynload', '/Applications/IDA Pro 7.2/ida.app/Contents/MacOS/python/lib/python2.7/lib-dynload/ida_32', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Applications/IDA Pro 7.2/ida.app/Contents/MacOS/python', '/Users/unknown/Library/Python/2.7/lib/python/site-packages', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Applications/IDA Pro 7.2/ida.app/Contents/MacOS/python', '/Users/unknown/.idapro']

from ipyida.

marc-etienne avatar marc-etienne commented on September 7, 2024

I see /Users/unknown/Library/Python/2.7/lib/python/site-packages is in your path so that seems fine.

I'm really not sure what breaks here. Can you try from ipyida.ida_plugin import PLUGIN_ENTRY, IPyIDAPlugIn in IDA's console?

from ipyida.

ZCKun avatar ZCKun commented on September 7, 2024

I see /Users/unknown/Library/Python/2.7/lib/python/site-packages is in your path so that seems fine.

I'm really not sure what breaks here. Can you try from ipyida.ida_plugin import PLUGIN_ENTRY, IPyIDAPlugIn in IDA's console?

Traceback (most recent call last):
File "", line 1, in
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/ipyida/ida_plugin.py", line 10, in
from ipyida import ida_qtconsole, kernel
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/ipyida/ida_qtconsole.py", line 51, in
import ipyida.kernel
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/ipyida/kernel.py", line 11, in
from ipykernel.kernelapp import IPKernelApp
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/ipykernel/kernelapp.py", line 38, in
from .iostream import IOPubThread
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/ipykernel/iostream.py", line 25, in
from jupyter_client.session import extract_header
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/jupyter_client/session.py", line 51, in
from dateutil.tz import tzutc
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/dateutil/tz/init.py", line 2, in
from .tz import *
File "/Users/2h0n91i2hen/Library/Python/2.7/lib/python/site-packages/dateutil/tz/tz.py", line 21, in
from six.moves import _thread
ImportError: cannot import name _thread

from ipyida.

marc-etienne avatar marc-etienne commented on September 7, 2024

Hi @ZCKun,

The problem seems to be related to a outdated package you have installed (probably one of six, dateutil, jupyter_client or ipykernel). Try updating them and open a new issue with more details if you think this is a bug in IPyIDA.

I'm closing this issue because there hasn't been activities from the original reporter. Hopefully it works for him now.

from ipyida.

kiemrong08 avatar kiemrong08 commented on September 7, 2024

IDA 7.5 install fail
image

from ipyida.

Harvey-2021 avatar Harvey-2021 commented on September 7, 2024

Installation fail with the following error in IDA 7.2 for MacOS 10.14:

Python>import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/stable/install_from_ida.py').read()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -536870212] Unknown error: -536870212>
Python>import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/stable/install_from_ida.py').read()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -536870212] Unknown error: -536870212>

It fails in IDA64. Therefore, I recommend mentioning to run the installation script in ida32. While running it in ida32 solve the urllib issue, apparently pip installation fail:

Python>import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/stable/install_from_ida.py').read()
[+] Installing pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Installing collected packages: pip, wheel
[-] Could not install pip.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 72, in <module>
ImportError: No module named pip

This issue caused because there is no pip already installed my mac, after installing pip this issue also got solved, however I got third error after installing pip in mac:

Python>import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/stable/install_from_ida.py').read()
[+] Using already installed pip (version 18.1)
Collecting ipyida
  Using cached https://files.pythonhosted.org/packages/91/8d/67ae354e7780fe9004bfac6dddc3cb530588506f41d5face04a420cf84ec/ipyida-1.3-py2-none-any.whl
Collecting qtconsole>=4.3 (from ipyida)
  Downloading https://files.pythonhosted.org/packages/e0/7a/8aefbc0ed078dec7951ac9a06dcd1869243ecd7bcbce26fa47bf5e469a8f/qtconsole-4.4.3-py2.py3-none-any.whl (113kB)
Collecting ipykernel>=4.6 (from ipyida)
  Downloading https://files.pythonhosted.org/packages/00/47/764e4fa1b1b89598426b8d79b1c4fbe8042432621b0f8e1991aeb3c24806/ipykernel-4.10.0-py2-none-any.whl (110kB)
Collecting pygments (from qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/13/e5/6d710c9cf96c31ac82657bcfb441df328b22df8564d58d0c4cd62612674c/Pygments-2.3.1-py2.py3-none-any.whl (849kB)
Collecting ipython-genutils (from qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jupyter-client>=4.1 (from qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/3b/c3/3043fe9ffd140d03c9d091a056794ccdc427c56ec19b8eea74f9ea0a498f/jupyter_client-5.2.4-py2.py3-none-any.whl (89kB)
Collecting jupyter-core (from qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl (126kB)
Collecting traitlets (from qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
Collecting ipython>=4.0.0 (from ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/b0/88/d996ab8be22cea1eaa18baee3678a11265e18cf09974728d683c51102148/ipython-5.8.0-py2-none-any.whl (760kB)
Collecting tornado>=4.0 (from ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/e6/78/6e7b5af12c12bdf38ca9bfe863fcaf53dc10430a312d0324e76c1e5ca426/tornado-5.1.1.tar.gz (516kB)
Collecting pyzmq>=13 (from jupyter-client>=4.1->qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/e5/28/63a6d14e8ccd224f1faa9df2144fde5bb130dda086eaabb288b2919dcd10/pyzmq-17.1.2-cp27-cp27m-macosx_10_6_intel.whl (1.3MB)
Collecting python-dateutil>=2.1 (from jupyter-client>=4.1->qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB)
Requirement already satisfied, skipping upgrade: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from traitlets->qtconsole>=4.3->ipyida) (1.4.1)
Collecting enum34; python_version == "2.7" (from traitlets->qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting decorator (from traitlets->qtconsole>=4.3->ipyida)
  Downloading https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl (57kB)
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/d1/b0/1a6c262da35c779dd79550137aa7c298a424987240a28792ec5ccf48f848/prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
Requirement already satisfied, skipping upgrade: setuptools>=18.5 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (18.5)
Collecting pickleshare (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting appnope; sys_platform == "darwin" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/87/a9/7985e6a53402f294c8f0e8eff3151a83f1fb901fa92909bb3ff29b4d22af/appnope-0.1.0-py2.py3-none-any.whl
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting futures (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting singledispatch (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Downloading https://files.pythonhosted.org/packages/16/2a/557af1181e6b4e30254d5a6163b18f5053791ca66e251e77ab08887e8fe3/scandir-1.9.0.tar.gz
Installing collected packages: pygments, ipython-genutils, enum34, decorator, traitlets, pyzmq, python-dateutil, futures, singledispatch, backports-abc, tornado, jupyter-core, jupyter-client, simplegeneric, backports.shutil-get-terminal-size, ptyprocess, pexpect, wcwidth, prompt-toolkit, scandir, pathlib2, pickleshare, appnope, ipython, ipykernel, qtconsole, ipyida
[.] ipyida system-wide package installation failed, trying user install
Collecting ipyida
  Using cached https://files.pythonhosted.org/packages/91/8d/67ae354e7780fe9004bfac6dddc3cb530588506f41d5face04a420cf84ec/ipyida-1.3-py2-none-any.whl
Collecting qtconsole>=4.3 (from ipyida)
  Using cached https://files.pythonhosted.org/packages/e0/7a/8aefbc0ed078dec7951ac9a06dcd1869243ecd7bcbce26fa47bf5e469a8f/qtconsole-4.4.3-py2.py3-none-any.whl
Collecting ipykernel>=4.6 (from ipyida)
  Using cached https://files.pythonhosted.org/packages/00/47/764e4fa1b1b89598426b8d79b1c4fbe8042432621b0f8e1991aeb3c24806/ipykernel-4.10.0-py2-none-any.whl
Collecting pygments (from qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/13/e5/6d710c9cf96c31ac82657bcfb441df328b22df8564d58d0c4cd62612674c/Pygments-2.3.1-py2.py3-none-any.whl
Collecting ipython-genutils (from qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jupyter-client>=4.1 (from qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/3b/c3/3043fe9ffd140d03c9d091a056794ccdc427c56ec19b8eea74f9ea0a498f/jupyter_client-5.2.4-py2.py3-none-any.whl
Collecting jupyter-core (from qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl
Collecting traitlets (from qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl
Collecting ipython>=4.0.0 (from ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/b0/88/d996ab8be22cea1eaa18baee3678a11265e18cf09974728d683c51102148/ipython-5.8.0-py2-none-any.whl
Collecting tornado>=4.0 (from ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/e6/78/6e7b5af12c12bdf38ca9bfe863fcaf53dc10430a312d0324e76c1e5ca426/tornado-5.1.1.tar.gz
Collecting pyzmq>=13 (from jupyter-client>=4.1->qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/e5/28/63a6d14e8ccd224f1faa9df2144fde5bb130dda086eaabb288b2919dcd10/pyzmq-17.1.2-cp27-cp27m-macosx_10_6_intel.whl
Collecting python-dateutil>=2.1 (from jupyter-client>=4.1->qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from traitlets->qtconsole>=4.3->ipyida) (1.4.1)
Collecting enum34; python_version == "2.7" (from traitlets->qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting decorator (from traitlets->qtconsole>=4.3->ipyida)
  Using cached https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/d1/b0/1a6c262da35c779dd79550137aa7c298a424987240a28792ec5ccf48f848/prompt_toolkit-1.0.15-py2-none-any.whl
Requirement already satisfied, skipping upgrade: setuptools>=18.5 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (18.5)
Collecting pickleshare (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting appnope; sys_platform == "darwin" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/87/a9/7985e6a53402f294c8f0e8eff3151a83f1fb901fa92909bb3ff29b4d22af/appnope-0.1.0-py2.py3-none-any.whl
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting futures (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Collecting singledispatch (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado>=4.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython>=4.0.0->ipykernel>=4.6->ipyida)
  Using cached https://files.pythonhosted.org/packages/16/2a/557af1181e6b4e30254d5a6163b18f5053791ca66e251e77ab08887e8fe3/scandir-1.9.0.tar.gz
Installing collected packages: pygments, ipython-genutils, enum34, decorator, traitlets, pyzmq, python-dateutil, futures, singledispatch, backports-abc, tornado, jupyter-core, jupyter-client, simplegeneric, backports.shutil-get-terminal-size, ptyprocess, pexpect, wcwidth, prompt-toolkit, scandir, pathlib2, pickleshare, appnope, ipython, ipykernel, qtconsole, ipyida
  Running setup.py install for tornado: started
    Running setup.py install for tornado: finished with status 'done'
  Running setup.py install for simplegeneric: started
    Running setup.py install for simplegeneric: finished with status 'done'
  Running setup.py install for scandir: started
    Running setup.py install for scandir: finished with status 'done'
Successfully installed appnope-0.1.0 backports-abc-0.5 backports.shutil-get-terminal-size-1.0.0 decorator-4.3.0 enum34-1.1.6 futures-3.2.0 ipyida-1.3 ipykernel-4.10.0 ipython-5.8.0 ipython-genutils-0.2.0 jupyter-client-5.2.4 jupyter-core-4.4.0 pathlib2-2.3.3 pexpect-4.6.0 pickleshare-0.7.5 prompt-toolkit-1.0.15 ptyprocess-0.6.0 pygments-2.3.1 python-dateutil-2.7.5 pyzmq-17.1.2 qtconsole-4.4.3 scandir-1.9.0 simplegeneric-0.8.1 singledispatch-3.4.0.3 tornado-5.1.1 traitlets-4.3.2 wcwidth-0.1.7
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 119, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1167, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 442, in get_provider
    __import__(moduleOrReq)
ImportError: No module named ipyida

However, after a restart of IDA and rerunning the command the ipyida installs successfully:

Python>import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/stable/install_from_ida.py').read()
[+] Using already installed pip (version 18.1)
Requirement already up-to-date: ipyida in /Users/unknown/Library/Python/2.7/lib/python/site-packages (1.3)
Requirement already satisfied, skipping upgrade: qtconsole>=4.3 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipyida) (4.4.3)
Requirement already satisfied, skipping upgrade: ipykernel>=4.6 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipyida) (4.10.0)
Requirement already satisfied, skipping upgrade: pygments in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from qtconsole>=4.3->ipyida) (2.3.1)
Requirement already satisfied, skipping upgrade: ipython-genutils in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from qtconsole>=4.3->ipyida) (0.2.0)
Requirement already satisfied, skipping upgrade: jupyter-client>=4.1 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from qtconsole>=4.3->ipyida) (5.2.4)
Requirement already satisfied, skipping upgrade: jupyter-core in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from qtconsole>=4.3->ipyida) (4.4.0)
Requirement already satisfied, skipping upgrade: traitlets in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from qtconsole>=4.3->ipyida) (4.3.2)
Requirement already satisfied, skipping upgrade: ipython>=4.0.0 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipykernel>=4.6->ipyida) (5.8.0)
Requirement already satisfied, skipping upgrade: tornado>=4.0 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipykernel>=4.6->ipyida) (5.1.1)
Requirement already satisfied, skipping upgrade: pyzmq>=13 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from jupyter-client>=4.1->qtconsole>=4.3->ipyida) (17.1.2)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from jupyter-client>=4.1->qtconsole>=4.3->ipyida) (2.7.5)
Requirement already satisfied, skipping upgrade: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from traitlets->qtconsole>=4.3->ipyida) (1.4.1)
Requirement already satisfied, skipping upgrade: enum34; python_version == "2.7" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from traitlets->qtconsole>=4.3->ipyida) (1.1.6)
Requirement already satisfied, skipping upgrade: decorator in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from traitlets->qtconsole>=4.3->ipyida) (4.3.0)
Requirement already satisfied, skipping upgrade: simplegeneric>0.8 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (0.8.1)
Requirement already satisfied, skipping upgrade: backports.shutil-get-terminal-size; python_version == "2.7" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (1.0.0)
Requirement already satisfied, skipping upgrade: pexpect; sys_platform != "win32" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (4.6.0)
Requirement already satisfied, skipping upgrade: prompt-toolkit<2.0.0,>=1.0.4 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (1.0.15)
Requirement already satisfied, skipping upgrade: setuptools>=18.5 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (18.5)
Requirement already satisfied, skipping upgrade: pickleshare in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (0.7.5)
Requirement already satisfied, skipping upgrade: appnope; sys_platform == "darwin" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (0.1.0)
Requirement already satisfied, skipping upgrade: pathlib2; python_version == "2.7" or python_version == "3.3" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from ipython>=4.0.0->ipykernel>=4.6->ipyida) (2.3.3)
Requirement already satisfied, skipping upgrade: futures in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from tornado>=4.0->ipykernel>=4.6->ipyida) (3.2.0)
Requirement already satisfied, skipping upgrade: singledispatch in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from tornado>=4.0->ipykernel>=4.6->ipyida) (3.4.0.3)
Requirement already satisfied, skipping upgrade: backports_abc>=0.4 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from tornado>=4.0->ipykernel>=4.6->ipyida) (0.5)
Requirement already satisfied, skipping upgrade: ptyprocess>=0.5 in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from pexpect; sys_platform != "win32"->ipython>=4.0.0->ipykernel>=4.6->ipyida) (0.6.0)
Requirement already satisfied, skipping upgrade: wcwidth in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0->ipykernel>=4.6->ipyida) (0.1.7)
Requirement already satisfied, skipping upgrade: scandir; python_version < "3.5" in /Users/unknown/Library/Python/2.7/lib/python/site-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython>=4.0.0->ipykernel>=4.6->ipyida) (1.9.0)
[+] ipyida.py added to user plugins
[WARN] Could not load IPyIDA plugin. ipyida Python package doesn't seem to be installed.
/Users/unknown/.idapro/plugins/ipyida.py: undefined function __plugins__ipyida.PLUGIN_ENTRY
[🍺] IPyIDA Installation successful. Use <Shift+.> to open the console.

another restart of the ida and upon entry I get following error:

[WARN] Could not load IPyIDA plugin. ipyida Python package doesn't seem to be installed.
/Users/unknown/.idapro/plugins/ipyida.py: undefined function __plugins__ipyida.PLUGIN_ENTRY

Please run in the IDA python prompt (with an opened database) the following line:
from PyQt5 import QtCore, QtGui, QtWidgets
If it doesn't work, it smells like an IDA Python specific problem. If so, run in a terminal the following command:

$ $IDA74_DIR/idapyswitch

from ipyida.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.