I am trying to program esp32 with esp idf. I installed it on my mac os machine.
When I try to compile code with "make" command, I have got that error:
Pyserial is not installed for /usr/local/opt/python@2/bin/python2.7. Check the README for installation instructions.
But, If I want to install pyserial with that code: - pip install pyserial
It says me that:
Requirement already satisfied: pyserial in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (3.4)
How can I solve it?