diff --git a/README-CN.md b/README-CN.md index 55e475eeadc9eec7f7f4749f67fa094d3a40cbc8..950f52512577033f9e3af13300edfd83b204dcc9 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 54034cb726b5f595e9c6243f238c0f32217b68ed..f366829d039d9461967fe801d75e3883bf6924f3 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: