Skip to content

Commit

Permalink
add note for possible issues during installation on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Mar 1, 2018
1 parent d298fc5 commit 8cfb8f4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,17 @@ Run below command to install the CLI:

**Note**

On mac if you encounter errors like `OSError: [Errno 1] Operation not permitted`, try to use below command to install:
On mac it's recommended to use pip3 to install the CLI.

```shell
> brew install python3
> pip3 install -U aliyun-log-cli
```

if you encounter errors like `OSError: [Errno 1] Operation not permitted`, try to use option `--user` to install:

```shell
> pip install -U aliyun-log-cli --user
> pip3 install -U aliyun-log-cli --user
```

### Full Usage list
Expand Down
10 changes: 9 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,17 @@ Python 2.6、2.7、3.3、3.4、3.5、3.6、PyPy和PyPy3。

**注意**

Mac上推荐使用pip3安装CLI,首选需要安装Python3:

```shell
> brew install python3
> pip3 install -U aliyun-log-cli
```

Mac上如果你安装时遇到了权限相关的错误,如:`OSError: [Errno 1] Operation not permitted`,尝试使用如下命令安装:

```shell
> pip install -U aliyun-log-cli --user
> pip3 install -U aliyun-log-cli --user
```


Expand Down

0 comments on commit 8cfb8f4

Please sign in to comment.