mbenabda / dockerized-esp-rtos-sdk

dockerized setup of the esp8266-rtos-sdk and toolchain
3 stars 3 forks source link

python2: not found #1

Open mars3142 opened 5 months ago

mars3142 commented 5 months ago

I got the error "python2: not found". Maybe it could be related to the fact, that the image is not for arm - I using it on a M1 MacBook Pro. Or do I need to install python2 on my local machine?

mbenabda commented 5 months ago

@mars3142 Hi, what command did you run ? Installing python2 on your machine won't help, as containers run in isolation from your OS.

mars3142 commented 5 months ago

I know 🤪. I just followed your README instructions, but I can't post my code, because it's confidential.

mbenabda commented 5 months ago

@mars3142 Not asking for your project's code here, no worries. but i need to know if the error occured as you tried building the image, or when you tried running the one I published on dockerhub

mars3142 commented 5 months ago

I don't build the container on my own. I used the pre-deployed one.

mbenabda commented 5 months ago

ok, i'll try figuring this out, then get back to you

mbenabda commented 5 months ago

ok. from what I see, espressif does not provide a build for ARM of the toolchain version packaged in the image.

i'd need to build it for the image, or upgrade to a more recent toolchain for which there is an ARM build.

They do however provide one for macOS. so the quickest route to get things working for you right now might just be to follow the toolchain setup instructions for esp8266-rtos-sdk on MacOS