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

Windows Support #16

Open
ctrlsam opened this issue Oct 7, 2018 · 0 comments
Open

Windows Support #16

ctrlsam opened this issue Oct 7, 2018 · 0 comments

Comments

@ctrlsam
Copy link

ctrlsam commented Oct 7, 2018

Currently the project doesn't seem to run correctly on Windows.
(Windows 10 version 1803 | Python 3.7)

H:\Git\adventurelib>python demo_game.py
Traceback (most recent call last):
File "demo_game.py", line 1, in <module>
    from adventurelib import *
File "H:\Git\adventurelib\adventurelib.py", line 4, in <module>
    import readline  # noqa: adds readline semantics to input()
ModuleNotFoundError: No module named 'readline'

The readline module is not supported for Windows and is depreciated.

H:\Git\adventurelib>pip install readline

Collecting readline
Using cached https://files.pythonhosted.org/packages/f4/01/2cf081af8d880b44939a5f1b446551a7f8d59eae414277fd0c303757ff1b/readline-6.2.4.1.tar.gz

Complete output from command python setup.py egg_info:
error: this module is not meant to work on Windows

On the PyPI website, it states: WARNING: THIS PACKAGE IS DEPRECATED! It has been renamed to GNUREADLINE to resolve a name clash with the standard library module.

When trying to install the new suggested replacement (GNUREADLINE), it says it is not supported for Windows and to try pyreadline instead.

Finally, I installed pyreadline which installed and then the demo game ran.

Can someone please provide screenshots of how the demo game runs on Linux as I think it may not be functioning correctly, thanks.

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

1 participant