Skip to main content

MxPi

Project description

1.安装

使用pip进行安装与更新最新版本

Windows
pip install -U mxpi
Liunx(Raspberry Pi)
sudo pip3 install -U mxpi

2.使用

在终端或者CMD中运行以下命令

#Windows
mxpi
#Liunx or Raspberry Pi
sudo mxpi

运行后会获得如下信息

Welcome to MxPi(0.0.xx)!  System:xxxxx   IP: x.x.x.x:xxxx
2022-02-11 15:56:10,412 INFO     Starting server at tcp:port=80:interface=192.168.1.129
2022-02-11 15:56:10,414 INFO     HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2022-02-11 15:56:10,415 INFO     Configuring endpoint tcp:port=80:interface=192.168.1.129
2022-02-11 15:56:10,418 INFO     Listening on TCP address x.x.x.x:xxxx

在浏览器中打开IP地址x.x.x.x:xxxx

3.说明

若使用Windows卸载或者更新MxPi最新版本时会出现以下错误

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 12091: 
invalid continuation byte in installed-files.txt file at path: 
xxx/installed-files.txt

这是由于系统默认编码的问题,这个问题不是由MxPi造成的,你可以打开xxx/installed-files.txt文件,并将其编码模式修改为UTF-8后,再次进行卸载或者更新。

4.更新信息

Version : 0.1.4
  1. 更新超声波传感器库
  2. 添加Blynk物联网模块
Version : 0.1.3
  1. 增加PCF8591数模转换器模块,使用扩展板即可进行模拟输出\输入

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mxpi-0.1.4.2.tar.gz (67.4 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page