解决树莓派Virtualenv虚拟环境下GPIO问题2019-05-08 by 崔斐然树莓派安装虚拟环境后提示GPIO找不到用这种办法安装GPIOpython3:pip3 install rpi.gpio python2:pip2 install rpi.gpio