Python-expat on GL-MT300N-V2

root@GL-MT300N-V2:/mnt/HDD1# opkg install python-expat
Unknown package ‘python-expat’.
Collected errors:

  • opkg_install_cmd: Cannot install package python-expat.

Is there a python-expat package for GL-MT300N-V2?

The OpenWRT forum supposes it’s integrated: Add missing python packages · Issue #1064 · openwrt/packages · GitHub

However I’ve tried to run the speedtest.net script on the device and the parser gave me:

root@GL-MT300N-V2:/mnt/HDD1# python ./speedtest.py -pyver 27
Traceback (most recent call last):
File “./speedtest.py”, line 30, in
import xml.parsers.expat
ImportError: No module named xml.parsers.expat

There hasn’t python-expat ipk. I check OpenWRT’s repo, it hasn’t as well. It seems that it is a old package.

the expat package shoul be integrated in python 2.

I got speedtest.py running om my ar750s:

opkg install python
download speedtest.py from github