1 | initial version |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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:
export /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents
execute the following commands using Python from Xcode Frameowork:
- Framework:
MacOs/Python -m ensurepip
- this will install pip if it is needed. --default-pip --default-pip
-
sudo -H MacOs/Python -m pip install
- this will install pyserial for Python from Xcode Framework.pyserial pyserial
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.
4 | No.4 Revision |
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:
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 "./" /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Resources/Python.app/Contents
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.