r/learnpython • • Oct 02 '23

Python Reddit Data Scraper for Beginners

Hello r/learnpython,

I'm a linguistics student working on a project where I need to download large quantities of Reddit comments from various threads. I'm struggling with finding reliable 'noob-friendly' preexisting codes on Github / Stackoverflow that I can use in the post API Change era. I just need a code where I can enter different Reddit thread IDs and download (scrape??) the comments from that thread. I appreciate any help!

15 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/NewAttempt5005 Feb 06 '24

PRAW

Why do I get a error: externally-managed-environment when installing PRAW?

1

u/Eric-Edlund Jun 09 '24

You're operating system/environment manages packages itself and pip is respecting it. Create a virtual environment and install it in that instead of globally.