The PIP3 install directory is different than the Python 3 directory.

SaltyDoug
Posts: 1
Joined: Fri Mar 30, 2018 4:42 pm

The PIP3 install directory is different than the Python 3 directory.

Postby SaltyDoug » Fri Jan 20, 2023 5:24 pm

  1. [/pip3 install esptool]
  2. MacBook Pro (intel) Ventura 13.1 Python 3.11
  3.  
  4. This command (pip3 install esptool) will install the esptools in this directory: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (4.4)
  5.  
  6. However when I open Terminal and issue this command to run esptool: python3 esptool -h
  7. I see the following error:
  8. /Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/Python 3.11/esptool': [Errno 2] No such file or directory
  9.  
  10. Any ideas on a work around for this?

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: The PIP3 install directory is different than the Python 3 directory.

Postby ESP_Roland » Mon Jan 23, 2023 7:19 am

I think you ment to run:

Code: Select all

python3 -m esptool -h

Who is online

Users browsing this forum: Majestic-12 [Bot] and 107 guests