Raspbian 9.6 stretch上のspeedtest-cliで、Memory Errorが出ました。対処方法。

Download Testは上手く行くのですが、Upload Testを行なおうとすると、次のようなエラーが出ます。
この、エラーが出るspeedtest-cliのバージョンは、1.0.0です。

[crayon]
Testing upload speedTraceback (most recent call last):
File “/usr/bin/speedtest”, line 11, in
load_entry_point(‘speedtest-cli==1.0.0’, ‘console_scripts’, ‘speedtest’)()
File “/usr/lib/python2.7/dist-packages/speedtest.py”, line 1400, in main
shell()
File “/usr/lib/python2.7/dist-packages/speedtest.py”, line 1376, in shell
speedtest.upload(callback=callback)
File “/usr/lib/python2.7/dist-packages/speedtest.py”, line 1086, in upload
data._create_data()
File “/usr/lib/python2.7/dist-packages/speedtest.py”, line 497, in _create_data
(chars * multiplier)[0:int(self.length) – 9]
MemoryError
[/crayon]

このような時には、GitHubで、最新版のspeedtest-cliをダウンロードしてインストールしてみます。

最新版の、バージョン2.0.2は、次のようにしてGitHubからインストールします。

[crayon]
pip install git+https://github.com/sivel/speedtest-cli.git
[/crayon]

今の所、エラーは出ておりません。
それでは、ごきげんよう。