Re: Eclipse IDE - No module named serial
Posted: Wed Oct 04, 2017 1:21 am
It looks like esptool runs under Python 3 in recent versions. It's working for me, although I did initially have the 'No module named serial' problem.
My config is:
- In make menuconfig, the python command is simply 'python'
- In Eclipse, set the PATH to point to the Python3.5 environment.
- Make sure pyserial is installed for Python 3.5. This happens when you run setup.py in esptool. From the esptool readme:
My config is:
- In make menuconfig, the python command is simply 'python'
- In Eclipse, set the PATH to point to the Python3.5 environment.
- Make sure pyserial is installed for Python 3.5. This happens when you run setup.py in esptool. From the esptool readme:
esptool.py depends on [pySerial](https://github.com/pyserial/pyserial#readme) version 2.5 or newer for serial communication with the target device.
If you choose to install esptool.py system-wide by running `python setup.py install`, then this will be taken care of automatically.