Forums

PRAW not working even when updating

Hi all - noob here. I updated praw in bash using pip.. --user praw --upgrade, but I'm still getting an error(below). Any help would be so. appreciated.

AttributeError Traceback (most recent call last) <ipython-input-17-405eb6a57ce4> in <module>() 5 crossposts = list() 6 time = list() ----> 7 sub_r = rdt.subreddit("conspiracy") 8 for sub in sub_r.submissions(1514764800, 1517875200): 9 if sub is not None:

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

An

could you give the full error traceback?

What do you mean? I'm using jupyter notebook, and that's all it gives me. When I update praw, it gives me the usual "i've already done that. I can't do it again" message (haha)

Make sure you're installing the module into the same version of Python that you're using in the notebook. Use pipx.x where x.x is the version of Python you're using in the notebook.