Keep getting error message. What am I doing wrong?
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
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
on the command line:
>pip install praw
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
Import os
os.system('pip install praw')
same message...
praw not found
you only need to do it once, no need to add it to the script
and can it be done in windows?
idk google how to download praw on windows