TRB140 Python pip work around

Hi
Today just loaded the latest firmware on the TRB140 and came across an issue.
TRB1_R_00.07.09.1 (Please note that the previous version 7.09 was even less successful)
Normal to run:-
pip3 install azure-iot-device
Firstly would:-

opkg update
opkg install python3
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install python3-pip

But this fault would happen:-

:~# pip install azure-iot-device
Traceback (most recent call last):
  File "/usr/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main

So the workaround I found is:-

opkg remove python3-pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

This topic was automatically closed after 15 days. New replies are no longer allowed.