配置环境步骤:
1.确认python,没有python安装,有python更新到2.7
https://blog.csdn.net/furzoom/article/details/53898861
2.检查pip
https://bootstrap.pypa.io/get-pip.py
利用命令 python get-pip.py安装
3.安装protobuf
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protobuf-python-3.5.1.tar.gz
tar -zxvf protobuf-python-3.5.1.tar.gz
cd protobuf-3.5.1
./configure
make
make check
make install
cd python
# 把protoc文件放到protobuf-3.5.1/src下面
# chmod +x protoc
执行
python setup.py install
3.利用pip安装python其他模块
python -m pip install apscheduler
到这station.py安装成功
python -m pip install speedtest-cli
python -m pip install pywifi
到这wifi检测
来源:https://blog.csdn.net/qq_27413937/article/details/100580609