meshtastic / Meshtastic-gui-installer

Cross platform, easy to use GUI for installing Meshtastic firmware.
https://meshtastic.org
GNU General Public License v3.0
68 stars 21 forks source link

module 'esptool' has no attribute 'main' #214

Open j4nr6n opened 2 years ago

j4nr6n commented 2 years ago

I'm running Ubuntu 20.04 and used these installation instructions.

Step 1/4 esp32 full
ESPTOOL Using command:--port /dev/ttyACM0 erase_flash
Traceback (most recent call last):
File "/home/me/meshtastic/venv/lib/python3.8/site-packages/meshtastic_flasher/esptool_form.py", line 70, in run

esptool.main(command)
AttributeError
:
module 'esptool' has no attribute 'main'
j4nr6n commented 2 years ago

Seems related to the new version of esptool I was able to get things running again by running pip install -Iv esptool==3.3.1 to downgrade esptool to the previous version.

mkinney commented 2 years ago

@thebentern Had a nice temp fix for this. Will create a new version as soon as github stops giving me 500 errors.

mkinney commented 2 years ago

GitHub Actions is now working again. Just released a new version. Can you try updating?

garthvh commented 2 years ago

I also had to install a specific version of esp tool to get this to work on my MacBook Air