1)pip / easy_install 打开一个终端,输入下面的命令: pip install speedtest_cli 或者 easy_install speedtest_cli 2)Github 想要直接从github安装,你得这么做: pip install git+https://github.com/sivel/speedtest-cli.git 或者 git clone https://g
speedtest-cli需要在python 2.4-3.4的环境下,安装方法都很简单,自己选择以下最适合你的一种。pip方式 # pip install speedtest-cli easy_install方式 # easy_install speedtest-cli github+pip方式 # pip install git+https://github.com/sivel/speedtest-cli.git 或者 # git clone https://github.com/...
speedtest-cli是一个用Python编写的轻量级Linux命令行工具,在Python2.4至3.6版本下均可运行。它基于speedtest.net的基础架构来测量网络的上/下行速率。 当你的机器不方便安装或者不能安装时,可以这样使用~ 使用git命令下载测速工具:git clone https://github.com/sivel/speedtest-cli.git 进入到speedtest-cli目录:cd s...
git clone https://github.com/sivel/speedtest-cli.git python speedtest-cli/setup.py install Just download (Like the way it used to be)wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli ...
#gitclone https://github.com/sivel/speedtest-cli.git # python speedtest-cli/setup.pyinstall 下载脚本方式 #wget-Ospeedtest-cli https://raw.github.com/sivel/spe... er/speedtest_cli.py #chmod+x speedtest-cli 或者 #curl-ospeedtest-cli https://raw.github.com/sivel/spe... er/speedtest_cli....
# pip install git+https://github.com/sivel/speedtest-cli.git 或者# git clone https://github.com/sivel/speedtest-cli.git # python speedtest-cli/setup.py install 下载脚本方式# wget -O speedtest-cli https://raw.github.com/sivel/spe ... er/speedtest_cli.py # chmod +x speedtest-cli ...
git clone https://github.com/sivel/speedtest-cli.git python speedtest-cli/setup.py install 然后运行speedtest-cli即可使用,默认会找到speedtest-cli服务器中最近的节点进行测试,笔者服务器在新加坡得到结果如下 代码语言:javascript 代码运行次数:0 运行 ...
git clone https://github.com/sivel/speedtest-cli.git cd speedtest-cli python setup.py install Just download (Like the way it used to be) wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py ...
# git clone https://github.com/sivel/speedtest-cli.git # python speedtest-cli/setup.pyinstall 下载脚本方式 # wget -O speedtest-cli https://raw.github.com/sivel/spe ... er/speedtest_cli.py # chmod +x speedtest-cli 或者 # curl -o speedtest-cli https://raw.github.com/sivel/spe ......
git clone https://github.com/sivel/speedtest-cli.git 进入项目目录: bash cd speedtest-cli 运行安装命令: bash python setup.py install 方法四:在 Debian/Ubuntu 系统上使用 apt-get 安装 对于使用 Debian 或 Ubuntu 系统的用户,可以通过 apt-get 包管理器来安装 speedtest-cli: bash sudo apt-get...