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, Windows 11 #25

Closed
AudioAnchorite opened this issue Mar 6, 2024 · 1 comment
Closed

ModuleNotFoundError, Windows 11 #25

AudioAnchorite opened this issue Mar 6, 2024 · 1 comment

Comments

@AudioAnchorite
Copy link

C:\Users\user\kobo-book-downloader-master>python kobo-book-downloader list --help
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\user\kobo-book-downloader-master\kobo-book-downloader\__main__.py", line 1, in <module>
    from Commands import Commands
  File "C:\Users\user\kobo-book-downloader-master\kobo-book-downloader\Commands.py", line 2, in <module>
    from Kobo import Kobo, KoboException
  File "C:\Users\user\kobo-book-downloader-master\kobo-book-downloader\Kobo.py", line 17, in <module>
    import readline
ModuleNotFoundError: No module named 'readline'

All commands result in this error. I have all dependencies installed properly (I use other scripts that depend on them--they are installed in the default location)

@TnS-hun
Copy link
Owner

TnS-hun commented Mar 10, 2024

Try installing pyreadline3 as a readline alternative on Windows.
pip install pyreadline3

After that it should work.

@TnS-hun TnS-hun closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants