Re: [Tutor] Using module Facebook

2014-07-23 Thread Chris
On 07/20/2014 09:48 PM, Albert-Jan Roskam wrote: > Hi, just wondering: why are you cloning the repo? You pip install > from Pypi. You can also pip install from the repo. I didn't know that this is possible directly. -- Christian ___ Tutor maillist -

Re: [Tutor] Using module Facebook

2014-07-20 Thread Danny Yoo
> I'm not sure, what the error was. I had also installed another facebook > package, not facebook-sdk. Maybe this was the reason. I would upgrade that "maybe" to an "almost certainly". :P You should have mentioned that detail of installing that second facebook library. It's actually crucial to

Re: [Tutor] Using module Facebook

2014-07-20 Thread Albert-Jan Roskam
- On Sun, Jul 20, 2014 6:16 PM CEST Chris wrote: >Dear Danny, > >thank you for your detailed reply. > >On 07/19/2014 03:26 AM, Danny Yoo wrote: >> This is what piqued my concerns. As you can see from the transcript, >> the search shows that there's not a single use of

Re: [Tutor] Using module Facebook

2014-07-20 Thread Chris
Dear Danny, thank you for your detailed reply. On 07/19/2014 03:26 AM, Danny Yoo wrote: > This is what piqued my concerns. As you can see from the transcript, > the search shows that there's not a single use of 'iteritems' anywhere > in the facebook-sdk, across the entire history of that project

Re: [Tutor] Using module Facebook

2014-07-18 Thread Chris
On 07/18/2014 11:04 PM, Danny Yoo wrote: > Yes, this unfortunately looks like the facebook-sdk folks are using > something that isn't in Python 2.6. They say that their library > should be compatible with 2.6, according to: Albert-Jan and Danny, thank you very much. That's a bug I wouldn't have f

Re: [Tutor] Using module Facebook

2014-07-18 Thread Danny Yoo
> I've was looking more closely at the source code to try to file a bug for you: > > https://github.com/pythonforfacebook/facebook-sdk/tree/master/facebook > > but when I look again at the reported error message: > > # > Traceback

Re: [Tutor] Using module Facebook

2014-07-18 Thread Danny Yoo
Hi Chris, Wait. There is one more possibility that I didn't account for: it may be that somehow you haven't installed facebook-sdk, but you may have installed some other package that is providing a facebook.py library. I've was looking more closely at the source code to try to file a bug for yo

Re: [Tutor] Using module Facebook

2014-07-18 Thread Danny Yoo
>>> >>> Now, there's another error message: >>> >>> (facebook)[chris@cd facebook]$ ./fb1.py >>> Traceback (most recent call last): >>> File "./fb1.py", line 6, in >>> import facebook >>> File >>> "/home/chris/software/facebook/lib/python2.6/site-packages/facebook.py", >>> line 811 >>>

Re: [Tutor] Using module Facebook

2014-07-18 Thread Albert-Jan Roskam
-- On Fri, Jul 18, 2014 7:47 PM CEST Marc Tompkins wrote: >On Fri, Jul 18, 2014 at 9:29 AM, Chris wrote: > >> On 07/18/2014 09:44 AM, Alan Gauld wrote: >> > Are you sure thats the version of Python you are running >> > in the virtualenv? >> >> I've modified the first

Re: [Tutor] Using module Facebook

2014-07-18 Thread Marc Tompkins
On Fri, Jul 18, 2014 at 9:29 AM, Chris wrote: > On 07/18/2014 09:44 AM, Alan Gauld wrote: > > Are you sure thats the version of Python you are running > > in the virtualenv? > > I've modified the first line to #!./bin/python (instead of > #!/usr/bin/python). > > Now, there's another error message

Re: [Tutor] Using module Facebook

2014-07-18 Thread Chris
On 07/18/2014 09:44 AM, Alan Gauld wrote: > Are you sure thats the version of Python you are running > in the virtualenv? I've modified the first line to #!./bin/python (instead of #!/usr/bin/python). Now, there's another error message: (facebook)[chris@cd facebook]$ ./fb1.py Traceback (most rec

Re: [Tutor] Using module Facebook

2014-07-18 Thread Alan Gauld
On 18/07/14 04:54, Chris wrote: but I'm getting the following error: (facebook)[chris@cd facebook]$ ./fb1.py Traceback (most recent call last): File "./fb1.py", line 3, in from facebook import Facebook ImportError: No module named facebook faceboo

[Tutor] Using module Facebook

2014-07-17 Thread Chris
Dear All, I'm trying to use the facebook-sdk for python [1]. I'm asking here and not on the SDK groups, because I think this is a basic beginner's question, not directly related to the framework. I installed facebook-sdk: virtualenv . source bin/activate pip install facebo