Closed r12f closed 11 months ago
I feel like the alternative solution is more clean, since:
espup
does not install ESP-IDF and has nothing to do with it, no_std
user do not require python and I would like to keep it this way.I agree that book and esp-idf-template
can be updated to include them, though.
Hi Sergio, makes sense! And thanks a lot for checking! I believe the issue can be closed now.
Just noticed that the book already includes those, in the last line of https://esp-rs.github.io/book/installation/std-requirements.html and for the template we have https://github.com/esp-rs/esp-idf-template/tree/master?tab=readme-ov-file#install-python3
Motivations
When following the esp-idf-template to setup the example repo, the new repo might fail to be build, because ESP-IDF requires python3-venv to be installed.
However, installing the step of installing python-venv is not listed in either esp-idf-template or Rust on ESP book. And it can be easily missed.
Solution
I feel making espup installing python and python-venv as part of frequently used dependency might make sense and will be helpful.
Alternatives
Updating both Rust on ESP book and esp-idf-template README should also work.
Additional context