This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Sniffer

Hello,

I tried to follow the "nRF_Sniffer_UG_v2.2" and i didn't understand the section 1.2 which described how to set the Python and Pyserial,can some one explain what to do?

Additionally,Python download for for Windows is just for 32bit where I can find 64bit version?

Thanks

Parents
  • Hi,

    There is 64-bit version of Python 2.7.16 available for Windows on the download page (Windows x86-64), but you can use the 32-bit version.

    Pyserial is installed from command line, using the commands in the guide. This must be done from 'extcap' directory in the downloaded sniffer ZIP file:

    pyserial v3.4 or later available from github.com/.../pyserial
    • Type “pip --version” in the terminal to verify that the pip installed with python v2.7 is
    used
    • For Windows - “C:\Python27\Scripts\pip.exe install -r requirements.txt” to install the
    python modules required for nRF Sniffer v2

    Best regards,
    Jørgen

  • It would be better if Nordic used Chocolatey (or similar) to package this up for Windows.  On Linux/OS X, we have lots of options to isolate this with venvs or similar that don't always work right on Windows.  And asking everyone to install a downgraded Python on their Windows machine is probably a *really* bad idea nowadays.

    Edit:  pip installs on Windows with Python 2.7 are throwing a DEPRECATION: warning at this point.  Time to upgrade, folks.

Reply
  • It would be better if Nordic used Chocolatey (or similar) to package this up for Windows.  On Linux/OS X, we have lots of options to isolate this with venvs or similar that don't always work right on Windows.  And asking everyone to install a downgraded Python on their Windows machine is probably a *really* bad idea nowadays.

    Edit:  pip installs on Windows with Python 2.7 are throwing a DEPRECATION: warning at this point.  Time to upgrade, folks.

Children
No Data
Related