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

Great project #1

Closed
alexmburns opened this Issue Aug 3, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@alexmburns
Copy link

alexmburns commented Aug 3, 2017

Wondering if you might be able to help, when I try to run your code it says:
Traceback (most recent call last):
File "scrolltwitter.py", line 9, in
from twython import twython
File "/usr/lib/python2.7/dist-packages/twython/init.py", line 23, in
from .api import Twython
File "/usr/lib/python2.7/dist-packages/twython/api.py", line 14, in
from requests_oauthlib import OAuth1, OAuth2

I am pretty sure I have Twython installed, just trying to work out why it might be doing this.

Kind regards,

Alex

@westy48

This comment has been minimized.

Copy link
Owner

westy48 commented Aug 4, 2017

Hi Alex - I had this and forgot to document it! The Twython authentication library only installs for Python 3, so you need to force it to run in Python 3. Try "python3 yourprogram.py"

I hope that helps - let me know how you get on.

James

@alexmburns

This comment has been minimized.

Copy link

alexmburns commented Aug 5, 2017

That fixed it.

Lovely bit of code, great project 👍

@westy48

This comment has been minimized.

Copy link
Owner

westy48 commented Aug 6, 2017

Great. I'd love to see any pics or video of your project if you'd like to share them. On Twitter I'm @jameswest - you could get them to me there if you're on it.

@westy48 westy48 closed this Aug 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment