Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using IDA 6.9 with Homebrew Python 2.7.11 #3

Closed
perks opened this issue May 31, 2016 · 3 comments
Closed

Using IDA 6.9 with Homebrew Python 2.7.11 #3

perks opened this issue May 31, 2016 · 3 comments

Comments

@perks
Copy link

perks commented May 31, 2016

Upon running the exec script I get the following error:

[+] Installing pip
Traceback (most recent call last):
File "", line 2, in
File "", line 43, in
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 702, in init
errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1136, in _get_handles
c2pwrite = stdout.fileno()
AttributeError: IDAPythonStdOut instance has no attribute 'fileno'

I've turned off App nap as per read me for both idaq and idaq64

@marc-etienne
Copy link
Contributor

Hi!

Thanks for reporting the issue.

It seems that OS X's subprocess doesn't like sys.stdout to be set to a non-file object. I tried to fix it in the master branch.

Can try the following?

import urllib2; exec urllib2.urlopen('https://github.com/eset/ipyida/raw/master/install_from_ida.py').read()

I don't think IDA picks up you Homebrew python path, but I'm not sure. You may need to install pip with sudo outside of IDA, or create a virtualenv for IDA.

@marc-etienne
Copy link
Contributor

Haven't heard back so I'll assume it worked.

Feel free to reopen if you still have installation problems.

@Stark1937
Copy link

I get two path /usr/local/bin/python and /usr/bin/python
If IDA don't picks up you Homebrew python path, Can I setting it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants