From 499653da78f93d03eaab375bb47cd08a8e138e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=A6=8FChris?= Date: Mon, 9 May 2022 11:57:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=AF=91=E5=89=8D?= =?UTF-8?q?=E6=8F=90=E6=9D=A1=E4=BB=B6pip=E5=92=8Cpyinstaller=E7=9A=84?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=20(#110)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 增加编译前提条件git、pip和pyinstaller的说明 * 补充Python3安装pip的说明,修改pyinstaller版本为3.6 --- README-CN.md | 16 ++++++++++++++++ README.md | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/README-CN.md b/README-CN.md index 55e475e..950f525 100644 --- a/README-CN.md +++ b/README-CN.md @@ -25,6 +25,22 @@ source /etc/profile.d/obd.sh - openssl-devel - xz-devel - mysql-devel +- pip +- pyinstaller + +> 说明: +> +> 您可以参考如下命令在拥有 Python2.7 或 Python3.8 的环境中安装 pip: +> ```shell +> curl -o get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py # 针对 Python2.7 环境 +> curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py # 针对 Python3.8 环境 +> sudo python get-pip.py +> ``` +> +> 然后使用如下 pip 命令安装 pyinstaller: +> ```shell +> sudo pip install pyinstaller==3.6 +> ``` Python2.7 使用以下命令安装: diff --git a/README.md b/README.md index 54034cb..f366829 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,23 @@ Before you install OBD by using the source code, make sure that you have install - openssl-devel - xz-devel - mysql-devel +- pip +- pyinstaller + +> Notes: +> +> You can install pip for Python2.7 or Python3.8 refer below cmd: +> ```shell +> curl -o get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py # for Python2.7 +> curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py # for Python3.8 +> sudo python get-pip.py +> ``` +> +> then install pyinstaller as below: +> ```shell +> sudo pip install pyinstaller==3.6 +> ``` + To install OBD on Python2.7, run these commands: -- GitLab