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 <module>
            from facebook import Facebook
        ImportError: No module named facebook

facebook.py is in:

        ./lib/python2.6/site-packages/facebook.py

Are you sure thats the version of Python you are running
in the virtualenv?

And have you checked that that exact folder is in the sys.path?


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to