r/redditdev•
Vlada69

Keep getting error message. What am I doing wrong?

PRAW

Traceback (most recent call last): File "C:\Users\1\Desktop\bot.py", line 5, in <module> import praw ModuleNotFoundError: No module named 'praw'

Posted Apr 6, 2018, 1:11 PM UTC

28
TheSox3•

on the command line:
>pip install praw

1
Vlada69OP•

can I do it in a module?

import sys import time import urllib import json import praw import logging import threading from socket import timeout from urllib.request import Request, urlopen

1
TheAnarchoX•

Import os

os.system('pip install praw')

2
Vlada69OP•

same message...

praw not found

1
TheSox3•

you only need to do it once, no need to add it to the script

2
Vlada69OP•

and can it be done in windows?

1
TheSox3•

idk google how to download praw on windows

1