README-usage.md 655 B

NOTE

构建 on ubuntu

# 生成工具安装
apt update && apt install protobuf-compiler -y
# 版本
protoc --version
# 生成
cd /home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg03/xprotobuf
protoc --python_out=. protocol.proto

# 其他
sudo chmod -R 777 /home/sri/repositories/repositories/sri-project.demo-py/sri-dino-pyserver01/xprotobuf

在线安装 部署 on ubuntu

apt install python3-protobuf

在线安装 部署 on windows

pip install protobuf==3.6.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

cd D:\temp001\24-09-12-pip\sri-server-bg03
pip install protobuf-3.6.1-py2.py3-none-any.whl