> 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 explaining the bizarre behavior we were seeing. We should revisit the claim made earlier that facebook-sdk doesn't support Python 2.6. In retrospect, it probably does! Let's summarize the situation, since there was some confusion leading up to your solution. ---------------- 1. You initially had some difficulty because your script was using the system-installed version of Python, rather than the virtualenv-installed one. You corrected the shebang line to refer to the virtualenv-installed version. 2. You installed two different Facebook libraries, and unfortunately one of them uses the same name as the other, effectively shadowing the official one from facebook-sdk. 3. The Facebook library that you were using on accident required Python 2.7. 4. You upgraded to Python 2.7. Effectively, this created a fresh installation with no third-party libraries. 5. You installed only the single Facebook library from facebook-sdk into your Python 2.7 installation. ---------------- In light of this, reinstalling Python 2.7 might have been slightly overkill. But that being said, it's probably for the best that you're on Python 2.7, since it's the one that the majority of Python 2 users are using now. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor