①安装python3.5
tar -xzvf Python-3.5.0.tgz
cd Python-3.5.0
./configure
make
make install
②安装RPi.GPIO包
pip3 install rpi.gpio
③安装flask
pip3 install flask
④安装flask-script
pip3 install flask-script
安装完后可以通过import模块检查安装成功没有
时间: 2024-10-26 02:33:14
①安装python3.5
tar -xzvf Python-3.5.0.tgz
cd Python-3.5.0
./configure
make
make install
②安装RPi.GPIO包
pip3 install rpi.gpio
③安装flask
pip3 install flask
④安装flask-script
pip3 install flask-script
安装完后可以通过import模块检查安装成功没有