RapidCompiler / Hangman-Game

A word guessing game
0 stars 0 forks source link

random_word module not found #2

Closed m-kruth closed 4 years ago

m-kruth commented 4 years ago

I get the following error when attempting to run this. Is random_word a self-written module or something that can be installed via pip? If it is a personal module then pushing it to origin would likely solve this problem. T_T is was so excited to play

Error message:

user@users-MacBook-Pro Hangman-Game % python Hangman.py                                       
Traceback (most recent call last):
  File "Hangman.py", line 1, in <module>
    from random_word import RandomWords
ImportError: No module named random_word
RapidCompiler commented 4 years ago

It is a module which needs to be installed via pip.

pip install Random words

This would be the command for installing it on the terminal.

For more info on this, please visit pypi.org

On Thu, Mar 26, 2020, 1:03 PM 2kruman notifications@github.com wrote:

I get the following error when attempting to run this. Is random_word a self-written module or something that can be installed via pip? If it is a personal module then pushing it to origin would likely solve this problem.

Error message:

user@users-MacBook-Pro Hangman-Game % python Hangman.py Traceback (most recent call last): File "Hangman.py", line 1, in from random_word import RandomWords ImportError: No module named random_word

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RapidCompiler/Hangman-Game/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOE56MKSXNEHJDFRCYG22PLRJMANHANCNFSM4LUARI2A .

RapidCompiler commented 4 years ago

This module would have to be install via pip. The command to install it is

pip install Random-Word