Ask Your Question

Revision history [back]

I'm running on MasOS Big Sur 11.2.3 and had a similar issue. I've tried all advice mentioned above but nothing helped me. This is what I understood. If you don't have installed Xcode - you won't have such troubles, simply install python 3 using brew, then install pip3 and install pyserial using pip3 and that's it. But If you have installed Xcode on the machine - the WireShark will use python3 from the Xcode's framework and this will cause such problems, and neither reinstalling python3 nor specifying the correct PATH in the profile (bash_profile, zprofile, etc) won't help you to resolve the problem. What helped me: 1) Add environment property - export PATH=$PATH:/Applications/Wireshark.app/Contents/MacOS/extcap - this will allow you to execute nrf_sniffer_ble.sh --extcap-interfaces from extcap folder without using "./" 2) Using the terminal got to the Python's folder within Xcode Frameowork - in my case: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents 3) execute the following commands using Python from Xcode Frameowork: - MacOs/Python -m ensurepip --default-pip - this will install pip if it is needed. - sudo -H MacOs/Python -m pip install pyserial - this will install pyserial for Python from Xcode Framework.

Then if you have performed everything from nordic tutorial right - you'll see the nRF Sniffer for Bluetooth LE in the WireShark's Interfaces list.

I'm running on MasOS Big Sur 11.2.3 11.2.3, WireShark 3.4.4, and had a similar issue. I've tried all advice mentioned above but nothing helped me. This is what I understood. If you don't have installed Xcode - you won't have such troubles, simply install python 3 using brew, then install pip3 and install pyserial using pip3 and that's it. But If you have installed Xcode on the machine - the WireShark will use python3 from the Xcode's framework and this will cause such problems, and neither reinstalling python3 nor specifying the correct PATH in the profile (bash_profile, zprofile, etc) won't help you to resolve the problem. What helped me: 1) Add environment property - export PATH=$PATH:/Applications/Wireshark.app/Contents/MacOS/extcap - this will allow you to execute nrf_sniffer_ble.sh --extcap-interfaces from extcap folder without using "./" 2) Using the terminal got to the Python's folder within Xcode Frameowork - in my case: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents 3) execute the following commands using Python from Xcode Frameowork: - MacOs/Python -m ensurepip --default-pip - this will install pip if it is needed. - sudo -H MacOs/Python -m pip install pyserial - this will install pyserial for Python from Xcode Framework.

Then if you have performed everything from nordic tutorial right - you'll see the nRF Sniffer for Bluetooth LE in the WireShark's Interfaces list.

I'm running on MasOS Big Sur 11.2.3, WireShark 3.4.4, and had a similar issue. I've tried all advice mentioned above but nothing helped me. This is what I understood. If you don't have installed Xcode - you won't have such troubles, simply install python 3 using brew, then install pip3 and install pyserial using pip3 and that's it. But If you have installed Xcode on the machine - the WireShark will use python3 from the Xcode's framework and this will cause such problems, and neither reinstalling python3 nor specifying the correct PATH in the profile (bash_profile, zprofile, etc) won't help you to resolve the problem. What helped me: 1) me:

  1. Add environment property - export PATH=$PATH:/Applications/Wireshark.app/Contents/MacOS/extcap PATH=$PATH:/Applications/Wireshark.app/Contents/MacOS/extcap - this will allow you to execute nrf_sniffer_ble.sh --extcap-interfaces from extcap folder without using "./" 2)
  2. Using the terminal got go to the Python's folder within Xcode Frameowork Framework - in my case: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents 3) /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents
  3. execute the following commands using Python from Xcode Frameowork: - Framework:

    MacOs/Python -m ensurepip --default-pip --default-pip - this will install pip if it is needed. -

    sudo -H MacOs/Python -m pip install pyserial pyserial - this will install pyserial for Python from Xcode Framework.

Then if you have performed everything from nordic tutorial right - you'll see the nRF Sniffer for Bluetooth LE in the WireShark's Interfaces list.

I'm running on MasOS Big Sur 11.2.3, WireShark 3.4.4, and had a similar issue. I've tried all advice mentioned above but nothing helped me. This is what I understood. If you don't have installed Xcode - you won't have such troubles, simply install python 3 using brew, then install pip3 and install pyserial using pip3 and that's it. But If you have installed Xcode on the machine - the WireShark will use python3 from the Xcode's framework and this will cause such problems, and neither reinstalling python3 nor specifying the correct PATH in the profile (bash_profile, zprofile, etc) won't help you to resolve the problem. What helped me:

  1. Add environment property - export PATH=$PATH:/Applications/Wireshark.app/Contents/MacOS/extcap - this will allow you to execute nrf_sniffer_ble.sh --extcap-interfaces from extcap folder without using "./"
  2. Using the terminal go to the Python's folder within Xcode Framework - in my case: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents
  3. execute the following commands using Python from Xcode Framework:

    MacOs/Python -m ensurepip --default-pip - this will install pip if it is needed.

    sudo -H MacOs/Python -m pip install pyserial - this will install pyserial for Python from Xcode Framework.

Then if you have performed everything from nordic tutorial right - you'll see the nRF Sniffer for Bluetooth LE in the WireShark's Interfaces list.