Skip to content

Ubuntu no module pyserial #3295

Closed
Closed
@ghost

Description

OS: 4.18.0-25-generic #26~18.04.1-Ubuntu
IDE: Arduino 1.8.9

Ubuntu Fresh installed

 python -m pip install pyserial
...
You are using pip version 10.0.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
 gone wit it

Then

pip install pyserial
Traceback (most recent call last):
  File "/home/marius/.local/bin/pip", line 7, in <module>
    from pip._internal import main
ModuleNotFoundError: No module named 'pip._internal'

Then

marius@pegpc:~$ python3 -m pip install pyserial
Collecting pyserial
  Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Installing collected packages: pyserial
Successfully installed pyserial-3.4

Then edit esptool.py and did

#!/usr/bin/env python3
#
#

Still the error persists


Traceback (most recent call last):
  File "/home/marius/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 39, in <module>
    import serial
ImportError: No module named serial
exit status 1
Error compiling for board ESP32 Wrover Module.

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