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

Fix: "pyreadline" error when python version > 3.10 #223

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gamefunc
Copy link

@gamefunc gamefunc commented Nov 29, 2023

Fix: "pyreadline" error when python version >= 3.10:

Use "pyreadline3" instead;
https://github.com/dhylands/rshell/issues/171

Fix: 'description-file' will not be supported in future versions:

Use "description_file" instead;

Update pyboard py from official:

remove rts, dtr options;      
add: --noexclusive: Open the serial port Not use exclusive access mode (default SERIAL_EXCLUSIVE is True);      
see: rshell --help      

Version:

up to "0.0.33";

Test: env: win 10 22H2; python 3.11.6:

# remove old:
    pip3 uninstall rshell pyreadline pyserial pyudev
# build new:
    python setup.py sdist bdist_wheel
# install:
    cd dist
    pip3 install rshell-0.0.32-py3-none-any.whl
# use:
    rshell -p com3
    repl
    >>> p = machine.P
    PIN_WAKE        PWM             PWRON_RESET     Pin
    >>> p = machine.P

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

Successfully merging this pull request may close these issues.

1 participant