LINUX 安装speedtest-cli 查看网速
LINUX 安装speedtest-cli 查看网速
# ImportError: No module named setuptools
yum -y install python-setuptools
安装PIP
tar xf pip-9.0.1.tar.gz
cd pip-9.0.1
python setup.py install
安装git
yum -y install git
使用git下载包
pip install git+https://github.com/sivel/speedtest-cli.git
speedtest-cli --bytes
speedtest-cli --bytes Retrieving speedtest.net configuration... Testing from Beijing Weishichuangjie Technical Development Co. (123.196.126.50)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Beijing Telecom (Beijing) [1.69 km]: 3.796 ms Testing download speed................................................................................ Download: 5.30 Mbyte/s Testing upload speed................................................................................................ Upload: 4.47 Mbyte/s