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.0.36
  1. 增加PyQt5相关模块
  2. 增加文件管理功能
  3. 修正了windows下出现编码错误的问题
  4. 库管理信息输出更加合理
  5. 修改了关于中的内容

5.计划

  • 添加百度AI相关模块
  • 添加PyQt多线程模块
  • 添加温度传感器模块
  • 增加支持导出py文件的功能

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.2.tar.gz (67.4 MB view details)

Uploaded Source

File details

Details for the file mxpi-0.1.2.tar.gz.

File metadata

  • Download URL: mxpi-0.1.2.tar.gz
  • Upload date:
  • Size: 67.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for mxpi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9dd4046ad1d4e9f32efcb8def90fcdede4dbe95db3c271d3d97dc4bd2ef08576
MD5 a4bbfb5334008d1669f5faf18ff5308f
BLAKE2b-256 10360d5777c82092c39decc1f7c64e7f213af3c4c0518d55134d95962ef86425

See more details on using hashes here.

Supported by

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