Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Namespace conflict between "pyserial" and "serial" #6

@dstrigl

Description

@dstrigl

You should remove "serial" from the requirements.txt, because "pyserial-asyncio" is based on "pyserial" and not "serial".

Otherwise the installation using "pip install -r requirements.txt" could end up in a namespace conflict between "pyserial" and "serial" like here: espressif/esptool#269

This happened on my Raspberry Pi when installing your project using "pip install -r requirements.txt".
I got the error "... object has no attribute 'serial_for_url'", because it uses "serial" instead of "pyserial"
After removing "serial" from the requirements.txt and setting up the venv completely new (without "serial") it works!

Regards and thanks for your work on this,
Daniel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions