fdcavalcanti commented on issue #15690: URL: https://github.com/apache/nuttx/issues/15690#issuecomment-2621298898
Try "which pip" on your terminal. See if it shows two pip installations. If it shows more than one, I recommend you uninstall the `esptool 4.7.0` since it is outdated anyway. The error you showed is very clear. Newer versions of Python which comes with newer OSes won't let you install Python packages without a virtual environment. What I recommend, is that you create a Python virtual environment for NuttX, install `esptool` there and source it when building NuttX. This creates a venv: ``` python3 -m venv venv source venv/bin/activate pip install esptool ``` Then just source the venv before running `make`. ``` source venv/bin/activate make ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org