Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

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

Open
j4nr6n opened this issue May 16, 2022 · 4 comments
Open

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

j4nr6n opened this issue May 16, 2022 · 4 comments

Comments

@j4nr6n
Copy link

j4nr6n commented May 16, 2022

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
Copy link
Author

j4nr6n commented May 16, 2022

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
Copy link
Contributor

mkinney commented May 19, 2022

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

@mkinney
Copy link
Contributor

mkinney commented May 23, 2022

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

@garthvh
Copy link
Member

garthvh commented Aug 27, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants