vaibhavsingh97 / random-word

This is a simple python package to generate random english words
https://pypi.org/project/random-word/
MIT License
123 stars 25 forks source link

ModuleNotFoundError when installing 1.0.8 with pip #81

Closed marko213 closed 2 years ago

marko213 commented 2 years ago

Describe the bug Installing the package version 1.0.8 from PyPI does not generate the module directory, causing a ModuleNotFoundError even after installation.

To Reproduce

  1. Remove any current installed version of random-word: pip uninstall random-word
  2. Install the package via pip: pip install random-word (pip install random-word==1.0.8)
  3. Try to import the module in python: import random_word

Expected behavior The module should import correctly after installation.

Environment:

Additional context Noticed on reddit. Current workaround is to install random-word==1.0.7.

The current build also seems to place tests and utils under site-packages, possibly hinting to a wrong relative directory being used.

vaibhavsingh97 commented 2 years ago

@marko213 Thanks for reporting will look into it.

vaibhavsingh97 commented 2 years ago

Thanks for the reproducing steps. I will release a new version in a few days.

Julio-Lopez-Cancino commented 2 years ago

This solved the issue for me... (Python 3.9.7) Additional context Noticed on reddit. Current workaround is to install random-word==1.0.7.

vaibhavsingh97 commented 2 years ago

Fixed in v1.0.10