PythonAnywhere Forums

Trying to use PRAW and getting error I'm not getting on local machine

EDIT fixed, did not do pip3.6 install --update --user praw

I'm trying to run a python3 script that uses PRAW, and I am getting this error:

AttributeError: 'Reddit' object has no attribute 'subreddit'

It works 100% on my local machine. What can I do to fix this?

Great, glad you worked it out!