Arthur Coinman
Arthur Coinman

Reputation: 1

Python: ModuleNotFoundError

starting with python and I already failed miserably... Started with a clean install for Python 3.9.5 Now, executing a simple "HelloWorld" by using "py test.py" works just fine, but whenever i try to import something like Redditor or Submission it returns "ModuleNotFoundError" (ofc after installing the module, tried pip3 install Redditor, pip install Redditor etc). Tried to modify my PATH variables but nothing seems to help. Can someone walk me step by step with setting this up? I'm very new to this. I tried different approaches but nothing seems to work. Also for some reason I dont have problems with "praw", installed it and no error.

Upvotes: 0

Views: 134

Answers (1)

enzo
enzo

Reputation: 11486

Both Redditor and Submission are classes inside the PRAW package, so you cannot install them directly using pip install Redditor, for example.

According to the package, you can install it using pip install praw.

Upvotes: 1

Related Questions