Skip to content

Fatal bug in Windows interpreter when using a clean installation of python #233

@carlstoker

Description

@carlstoker

The interpreter shell was changed to use pyreadline3 instead of readline in PR #204:

if platform.system() == 'Windows':
import pyreadline3
else:
import readline

However, this package is not included by default in a new python installation, nor is it installed when installing asteroid-lang via pip. This causes the interpreter to crash with a fatal error upon execution:
image

I'll be making a pull request which will add a line to requirements.txt to install pyreadline3 where platform_system is Windows.

I believe this may fix the issue, though I'm not familiar with how pypi is compiling the interpreter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions