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

sudo easy_install frida #1

Closed
timuric opened this issue Jan 10, 2014 · 12 comments
Closed

sudo easy_install frida #1

timuric opened this issue Jan 10, 2014 · 12 comments

Comments

@timuric
Copy link

timuric commented Jan 10, 2014

When trying to install frida via easy_install get this error:

Searching for frida
Reading https://pypi.python.org/simple/frida/
No local packages or download links found for frida
error: Could not find suitable distribution for Requirement.parse('frida')

@karltk
Copy link
Member

karltk commented Jan 10, 2014

Which OS are you on? Can you run

$ python -V

and

$ easy_install --version

@timuric
Copy link
Author

timuric commented Jan 10, 2014

Sorry forgot to mention that. I am running macosx 10.9

easy_install --version:
setuptools 1.4.2

python -V:
Python 2.7.5

@karltk
Copy link
Member

karltk commented Jan 10, 2014

I've tried to reproduce your problem, but so far, without success.

This is what I got so far:

  • easy_install of Frida works just fine when you run easy_install 0.6.x. The 0.6.x version is what seems to ship with OSX 10.9 by default, and also Ubuntu 12.04 LTS. This version of easy_install is part of the the distribute project.
  • Later versions (0.7.x and up) of easy_install are part of the setuptools project, and are a bit more tricky to install on a system that already has easy_install 0.6.x on it. However, I jumped through a few hoops and now I have 1.4.2 running on my Ubuntu, and also on a box running OSX 10.9.
  • When running easy_install1.4.2 with Python 2.7.5 on OSX version 10.9, Frida installs just fine.

Can you try

$ easy_install --verbose frida 

(or easy_install --user --verbose frida, to install into your user's home dir instead of the system paths)?

@timuric
Copy link
Author

timuric commented Jan 10, 2014

Both commands produce: error: Could not find suitable distribution for Requirement.parse('frida')

But now I am suspecting that something is wrong with my python environment. Because it works on other laptop.

@guillehorno
Copy link

I have the same problem on macosx 10.9

Python 2.7.6
setuptools 2.1

@karltk
Copy link
Member

karltk commented Jan 10, 2014

Where did you guys get your newer versions of setuptools? Brew? What does which easy_install give you?

@guillehorno
Copy link

I reinstalled it the recommended way, doing

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

I updated it to the 2.1 version (I had 2.0 before).

easy_install is on /usr/local/bin/easy_install

@karltk
Copy link
Member

karltk commented Jan 10, 2014

Curious. My OSX system is

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.9.1
BuildVersion:   13B42

At the outset, easy_install is so old that it doesn't respect --version (A bit of digging in /Library/Python/2.7 tells me it's version 0.6c12).

I executed

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

After that /usr/local/bin/easy_install --version tells me

setuptools 2.1

Running /usr/local/bin/easy_install --user frida works just fine for me.

Do you still have a /usr/bin/easy_install? What if you try that one?

If not, or if that doesn't help, can you give me the full trace of easy_install --verbose frida?

@guillehorno
Copy link

I still had a /usr/bin/easy_install

Using the old version (sudo /usr/bin/easy_install frida) worked :)

karltk added a commit that referenced this issue Jan 10, 2014
@koto
Copy link

koto commented Jan 11, 2014

It seems like OSX 10.9 is required. You might want to document it.

$ sudo /usr/local/bin/easy_install --verbose --user frida
Searching for frida
Reading https://pypi.python.org/simple/frida/
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.0-py2.6-macosx-10.9-intel.egg#md5=8a017ffc98c869af58659799e22b7435
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.1-py2.6-macosx-10.9-intel.egg#md5=b5ef342fb4fe6d03e296ff9cdebf80ef
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.2-py2.6-macosx-10.9-intel.egg#md5=5625a86d305a198538bbeb6f6f9d3142
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.3-py2.6-macosx-10.9-intel.egg#md5=bca726bf2e50ddd7af6afd9005f34832
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.4-py2.6-macosx-10.9-intel.egg#md5=c90b349f41c41914905e7fd93805c7ac
Found link: https://pypi.python.org/packages/2.6/f/frida/frida-1.0.5-py2.6-macosx-10.9-intel.egg#md5=3dff665ddd40f1c9ba7004908ed6c7c7
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.0-py2.7-linux-x86_64.egg#md5=9d2886718a292a5d9a9b138e728a8ba7
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.0-py2.7-macosx-10.9-intel.egg#md5=43f6a94b9b8f5ef70bdfc391a1015368
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.0-py2.7-win-amd64.egg#md5=8029d3674168d2e6af451a2f70978984
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.0-py2.7-win32.egg#md5=ff28a2bd6eb6c6f8005c98b3bd87df91
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.1-py2.7-linux-x86_64.egg#md5=01dafb3786ba79508a33d5aef603fe12
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.1-py2.7-macosx-10.9-intel.egg#md5=9f4d67e1613652587c3b53b8fea07f07
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.1-py2.7-win-amd64.egg#md5=486f4e0b828cf47bd0481ac812de768e
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.1-py2.7-win32.egg#md5=eba388272489b86240239d49ef6eab7b
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.2-py2.7-linux-x86_64.egg#md5=5931df91ab4c6ca761b4a8b2cc325ab3
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.2-py2.7-macosx-10.9-intel.egg#md5=4c73573d0a6bda1029cd6031fa773238
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.2-py2.7-win-amd64.egg#md5=f1d46797efd5ea69a6931b62aaced806
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.2-py2.7-win32.egg#md5=ad1751118dfdc5aef87a00352ee410ce
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.3-py2.7-linux-x86_64.egg#md5=7d1b377edfbcd79121f87af24bea4c43
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.3-py2.7-macosx-10.9-intel.egg#md5=49e308d07a472b7026063a24452c2a0a
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.3-py2.7-win-amd64.egg#md5=426227ec64c652ac7ff883d6db8329dd
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.3-py2.7-win32.egg#md5=241591afeca48c49638eea46360eb0ec
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.4-py2.7-linux-x86_64.egg#md5=fc2def5599be2f293e6aea941aeffeea
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.4-py2.7-macosx-10.9-intel.egg#md5=be5b0a2c4b6962b638712dd7166221d0
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.4-py2.7-win-amd64.egg#md5=84bc1388e569c0fbc1f3007010e9e9f2
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.4-py2.7-win32.egg#md5=b9fb0f16cd5332936286e5571e632dec
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.5-py2.7-linux-x86_64.egg#md5=524b6e8578c9e3856af4ebb2f6316163
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.5-py2.7-macosx-10.9-intel.egg#md5=a4c0a72ef48d74f5237c50caa59e56e2
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.5-py2.7-win-amd64.egg#md5=2e9a8e0d632dd0eb244a37b5f05484cc
Found link: https://pypi.python.org/packages/2.7/f/frida/frida-1.0.5-py2.7-win32.egg#md5=f5230632f005c7593694cc8bc65c16e1
Found link: https://pypi.python.org/packages/3.3/f/frida/frida-1.0.5-py3.3-linux-x86_64.egg#md5=c8e4623547d541be4ef3d4faf73cf87f
Found link: https://pypi.python.org/packages/3.3/f/frida/frida-1.0.5-py3.3-macosx-10.6-intel.egg#md5=2ee50e1996f3819b200438599a82e440
Found link: https://pypi.python.org/packages/3.3/f/frida/frida-1.0.5-py3.3-win-amd64.egg#md5=dc8da823bce9ff3da888cdfb542e13e2
Found link: https://pypi.python.org/packages/3.3/f/frida/frida-1.0.5-py3.3-win32.egg#md5=7e181a875c61b53f4d298a2619c699fa
No local packages or download links found for frida
error: Could not find suitable distribution for Requirement.parse('frida')
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G63b

@oleavr
Copy link
Member

oleavr commented Jan 11, 2014

@koto Aha! Frida is compatible with OS X >= 10.7, but the python .egg hasn't been tested on < 10.9. I'll investigate if it's possible to build a proper pip-compatible binary package that isn't restricted to one specific version of OS X.

@oleavr
Copy link
Member

oleavr commented Sep 23, 2014

Considering this a bug in the current packaging of frida-python. Related to frida/frida-python#13.

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

5 participants