I'm using Ubuntu (WSL). I'm running through the inception tutorial. I'm using Python 3.6, and have done the setup step.
sudo update-alternatives --config python
Once I run this next command (below) I get an odd error.
sudo -E python $SNPE_ROOT/models/inception_v3/scripts/setup_inceptionv3.py -a ./inception_v3/ -d -r cpu
With the error message.
ERROR: [Errno 2] No such file or directory: 'snpe-tensorflow-to-dlc': 'snpe-tensorflow-to-dlc'
However, I have already run the environment script. This is verified by echo $PATH. It shows "/mnt/c/work/snpe/snpe_sdk/bin/x86_64-linux-clang".
Furthermore, if I type in snpe-tensorflow-to-dlc to the command line directly, I get another weird error. This shows snpe-tensorflow-to-dlc is on the path, but seems to not work.
Failed to find necessary package:
libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
Please ensure that $SNPE_ROOT/lib/python is in your PYTHONPATH
If I check python path with echo $PYTHONPATH the SNPE root is clearly on the path, however I did not install python 3.4, so I don't have libpython3.4m.so.1.0.
However, if I install Python 3.4, then ONNX setup fails saying the Python version is too old.
So then what should we do?