Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError when installing 1.0.8 with pip #81

Closed
marko213 opened this issue May 26, 2022 · 4 comments
Closed

ModuleNotFoundError when installing 1.0.8 with pip #81

marko213 opened this issue May 26, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@marko213
Copy link

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:

  • OS: Arch Linux
  • Python 3.10

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 vaibhavsingh97 added the bug Something isn't working label May 26, 2022
@vaibhavsingh97
Copy link
Owner

@marko213 Thanks for reporting will look into it.

@vaibhavsingh97 vaibhavsingh97 self-assigned this May 26, 2022
@vaibhavsingh97
Copy link
Owner

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

@vaibhavsingh97 vaibhavsingh97 pinned this issue May 28, 2022
@Julio-Lopez-Cancino
Copy link

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
Copy link
Owner

Fixed in v1.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants