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

[TW#26811] idf.py: ImportError: No module named serial.tools.list_ports #2573

Closed
magnomp opened this issue Oct 16, 2018 · 3 comments
Closed
Assignees

Comments

@magnomp
Copy link

magnomp commented Oct 16, 2018

  • Operating system:
    Windows 7 x64
  • Python version: (python -V to check this)
    Python 2.7.14
  • ESP hardware in use:
    ESP32

Full idf.py command line as run:

idf.py menuconfig

Full output from idf.py (please copy and paste all lines of output)

Traceback (most recent call last):
File "C:\Users\Magno\esp\esp-idf\tools\idf.py", line 38, in
import serial.tools.list_ports
ImportError: No module named serial.tools.list_ports

What is the expected behaviour?

Running menuconfig

Do you have any other information from investigating this?

Already did pip install pyserial and pip install esptool as suggested on esptool issue 350 which seems to be the same

Is there any other information you can think of which will help us reproduce this problem?

Output of pip show pyserial
Name: pyserial
Version: 3.4
Summary: Python Serial Port Extension
Home-page: https://github.com/pyserial/pyserial
Author: Chris Liechti
Author-email: cliechti@gmx.net
License: BSD
Location: c:\python27\lib\site-packages
Requires:

Output of pip show esptool
Name: esptool
Version: 2.5.1
Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP
32 chips.
Home-page: https://github.com/espressif/esptool
Author: Fredrik Ahlberg (themadinventor) & Angus Gratton (projectgus)
Author-email: angus@espressif.com
License: GPLv2+
Location: c:\python27\lib\site-packages
Requires: pyserial, pyaes, ecdsa

@dobairoland
Copy link
Collaborator

Please try to run: $IDF_PATH/tools/check_python_dependencies.py and post here the console output.

@Alvin1Zhang Alvin1Zhang changed the title idf.py: ImportError: No module named serial.tools.list_ports [TW#26811] idf.py: ImportError: No module named serial.tools.list_ports Oct 17, 2018
@dobairoland dobairoland self-assigned this Oct 17, 2018
@dobairoland
Copy link
Collaborator

@magnomp Do you have any update regarding your issue?

@Alvin1Zhang
Copy link
Collaborator

@magnomp Could you help share if any updates for this issue? Thanks.

@igrr igrr closed this as completed in f59358d Oct 26, 2018
catalinio pushed a commit to catalinio/pycom-esp-idf that referenced this issue Jun 28, 2019
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

3 participants