I tried using the PicoVNA5 API on Linux but encountered some issues running the examples given in the SDK. First thing I'd like to adress is that the Github link given in the Programmer's Guide does not work ( https://github.com/AAI-Robotics/PicoVNA5_SDK_Examples ). It might be easier to track these kind of issues with the Github up and running.
Setup:
PicoTech-issued PicoVNA5 SDK v5.2.5
Steps to reproduce:
- Install PicoVNA5 with the given picovna.run installation script
- Download SDK
- Decompress and change directory to the root of the SDK
- Install vna python module with
File "examples/api/python/01_simple_frequency_sweep/01_simple_frequency_sweep.py", line 25, in
from vna import vna
File "/home/[i]user[/i]/.local/lib/python3.8/site-packages/vna/vna.py", line 13, in
import _vna_python
ModuleNotFoundError: No module named '_vna_python'
The error appears to indicate that _vna_python.so cannot be found (or is not compatible with your system). Possible causes include one of the libraries not being present, readable, or being built for an incompatible architecture. One possibility is that you may also need to set PYTHONPATH -- running from the root directory of the SDK:
If that does not resolve the issue, please could you confirm your operating system and the version of python3 that you are using? Is your Python install 32- or 64-bit?