espressif / rust-esp32-example

Example of Rust integration into an ESP-IDF project, for ESP32 series of chips
MIT License
436 stars 36 forks source link

docker run -it espressif/idf-rust-examples fails #48

Open mutantbob opened 2 years ago

mutantbob commented 2 years ago

I am attempting to find a docker image that will let me build Rust apps for an Adafruit ESP32 feather. If I docker run -it espressif/idf-rust-examples it malfunctions and drops me back to the original shell.

Detecting the Python interpreter
Checking "python" ...
Python 3.8.10
"python" has been detected
Adding ESP-IDF tools to PATH...
Using Python interpreter in /opt/esp/python_env/idf5.0_py3.8_env/bin/python
Checking if Python packages are up to date...
Downloading espidf.constraints.v5.0.txt to /root/.espressif/espidf.constraints.v5.0.txt.tmp
Done
Constraint file: /root/.espressif/espidf.constraints.v5.0.txt
Requirement files:
 - /opt/esp/idf/requirements.core.txt
Python being checked: /opt/esp/python_env/idf5.0_py3.8_env/bin/python
The following Python requirements are not satisfied:
idf-component-manager~=1.1
To install the missing packages, please run "install.sh"
Diagnostic information:
    IDF_PYTHON_ENV_PATH: /opt/esp/python_env/idf5.0_py3.8_env
    Python interpreter used: /opt/esp/python_env/idf5.0_py3.8_env/bin/python

It seems that the Dockerfile needs some fixes.

mutantbob commented 2 years ago

If possible, it would be interesting to have a docker image that includes a shell script that generates a Rust project from a template (such as https://github.com/esp-rs/esp-idf-template) and then compiles an artifact that can be installed onto an ESP32.

alak commented 2 years ago

I've the same issue, any news?

DmitriLyalikov commented 1 year ago

I am experiencing this too with Docker, using espressif/idf-rust image

fraserdarwent commented 1 year ago

Also experiencing