Closed scarolan closed 3 years ago
The fix:
python3 -m pip install esptool pyserial
Note that pip3 install esptool pyserial
did not work. I think it was finding the pip from the other development environment and installing the modules there. The command above worked for me on Windows 10.
esptool and pyserial is installed via the Windows 10 ESP-IDF installer. It looks like it's most likely not added to path if you already have installed it. You need to run %userprofile%\Desktop\esp-idf\export.bat
each time you restart your Anaconda Prompt. Optionally you can update your shortcut to activate your edukit conda environment and execute the export script each time you open Anaconda Prompt.
Thanks @rashedtalukder, I have everything working now! Appreciate your help.
I am evaluating your feedback overall and evaluating other options for Windows users. Maybe Windows Subsystem for Linux would provided an easier path forward.
Yes, I'd recommend WSL; it will probably be easier for you to support. I will try setting this up on my other machine which has WSL2 installed.
I imagine the only tricky bit will be the serial port; am not sure whether WSL can properly expose the serial port to PlatformIO.
Ran this inside the miniconda environment as documented here. This was after running
pip3 install -r requirements.txt
which worked fine.https://edukit.workshop.aws/en/blinky-hello-world/device-provisioning.html