GithubHelp home page GithubHelp logo

Comments (11)

sean-lynch avatar sean-lynch commented on July 19, 2024

It looks like this was an issue with the official Python SDK as well (http://stackoverflow.com/questions/6976548/package-in-pypi-not-installable-by-pip)

I haven't maintained a PyPI package myself, but it looks like you need to push an archive to PyPI containing either an egg or the source.

For example, compare the facebook-sdk page (http://pypi.python.org/pypi/facebook-sdk) to facepy (http://pypi.python.org/pypi/facepy)

from facebook-sdk.

sean-lynch avatar sean-lynch commented on July 19, 2024

And as you point out on pythonforfacebook.com, you can use this command to pull it down from github directly:

pip install -e git+git://github.com/pythonforfacebook/facebook-sdk.git#egg=facebook-sdk

(this also works with requirements.txt files, just drop the pip install part)

from facebook-sdk.

martey avatar martey commented on July 19, 2024

@aidanlister, could you push an update to PyPi like @sean-lynch suggested?

from facebook-sdk.

wyuenho avatar wyuenho commented on July 19, 2024

+1 on this issue.

from facebook-sdk.

martey avatar martey commented on July 19, 2024

This should be fixed by 15d284f and the upload of version 0.3.0 (aka "the current state of master") to PyPi.

from facebook-sdk.

aidanlister avatar aidanlister commented on July 19, 2024

Yay!

On 25 April 2012 10:46, Martey Dodoo
[email protected]
wrote:

This should be fixed by 15d284f and the upload of version 0.3.0 (aka "the current state of master") to PyPi.


Reply to this email directly or view it on GitHub:
#8 (comment)

from facebook-sdk.

sean-lynch avatar sean-lynch commented on July 19, 2024

Thanks very much :)

from facebook-sdk.

neilkumar avatar neilkumar commented on July 19, 2024

I am still getting this error


$ pip -v install facebook-python-sdk
Downloading/unpacking facebook-python-sdk
  Could not fetch URL http://github.com/facebook/python-sdk (from http://pypi.python.org/simple/facebook-python-sdk/): HTTP Error 404: Not Found
  Will skip URL http://github.com/facebook/python-sdk when looking for download links for facebook-python-sdk
  Could not find any downloads that satisfy the requirement facebook-python-sdk
No distributions at all found for facebook-python-sdk
Exception information:
Traceback (most recent call last):
  File "/Users/neil/projects/harbor/env/lib/python2.7/site-packages/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/Users/neil/projects/harbor/env/lib/python2.7/site-packages/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Users/neil/projects/harbor/env/lib/python2.7/site-packages/pip/req.py", line 978, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/Users/neil/projects/harbor/env/lib/python2.7/site-packages/pip/index.py", line 157, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for facebook-python-sdk

Storing complete log in /Users/neil/.pip/pip.log

from facebook-sdk.

martey avatar martey commented on July 19, 2024

@neilkumar, this package's name is facebook-sdk, not facebook-python-sdk.

from facebook-sdk.

neilkumar avatar neilkumar commented on July 19, 2024

Ah. Both show up on pip search -

$ pip search facebook | grep sdk
facebook-sdk              - This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication.
facebook-python-sdk       - This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication.

from facebook-sdk.

martey avatar martey commented on July 19, 2024

If you go to facebook-python-sdk's PyPi page, you will see that it is owned by "alex_ndc" and points at Facebok's Python SDK repository on Github, which has been deleted. I will see if I can get in touch with the owner and ask him to remove it.

from facebook-sdk.

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.