|
最近想测试下a80的网速有多快,于是在度娘上搜索到一个貌似很强大的命令行网速测试工具speedtest-cli
但按其给出的教程安装工具后
执行speedtest-cli,原来认为能测速(下图为教程截图)
结果变成呢- root@cubieboard4:~# speedtest-cli
- Retrieving speedtest.net configuration...
- Retrieving speedtest.net server list...
- Traceback (most recent call last):
- File "/usr/local/bin/speedtest-cli", line 692, in <module>
- main()
- File "/usr/local/bin/speedtest-cli", line 686, in main
- speedtest()
- File "/usr/local/bin/speedtest-cli", line 536, in speedtest
- servers = closestServers(config['client'])
- File "/usr/local/bin/speedtest-cli", line 345, in closestServers
- uh = urlopen('http://www.speedtest.net/speedtest-servers-static.php')
- File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
- return _opener.open(url, data, timeout)
- File "/usr/lib/python2.7/urllib2.py", line 410, in open
- response = meth(req, response)
- File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/lib/python2.7/urllib2.py", line 448, in error
- return self._call_chain(*args)
- File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
- result = func(*args)
- File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- urllib2.HTTPError: HTTP Error 403: Forbidden
复制代码 从打印信息看出:此测试工具speedtest-cli的代码有问题(或系统中默认安装python代码报错),请问哪位大牛曾经尝试过用此工具,或者推荐下其他可行的网速测试工具{:soso_e149:}{:soso_e149:}{:soso_e149:}
|
|