未验证 提交 499653da 编写于 作者: 阿福Chris's avatar 阿福Chris 提交者: GitHub

增加编译前提条件pip和pyinstaller的说明 (#110)

* 增加编译前提条件git、pip和pyinstaller的说明

* 补充Python3安装pip的说明,修改pyinstaller版本为3.6
上级 c5ca1655
......@@ -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 使用以下命令安装:
......
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册