Skip to content

Commit

Permalink
Update faq & improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Dec 7, 2018
1 parent 851072a commit 4a861e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
10 changes: 1 addition & 9 deletions faq/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@

### 执行`pipenv install`等命令出现`TypeError``ResourceWarning`、或`ImportError`异常

这个是pipenv 2018.7.1版本的bug,目前可以临时通过降级pip来解决:

`$ python3 -m pip install pip==10.0.1`

如果你使用Python2,则使用下面的命令:

`$ python -m pip install pip==10.0.1`

等到新版本修复了这些问题后,可以通过下面的命令升级pipenv和pip:
新版本修复了这些问题,可以通过下面的命令升级pipenv和pip:

```
$ python3 -m pip install --upgrade pip
Expand Down
11 changes: 11 additions & 0 deletions improvement/improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ GitHub上的勘误文件阅读体验不太好,而且部分地区访问较慢
>>> import os
```

7.5 P214 代码清单7-8:
```py
from sayhello import db
from sayhello.models import Message
```

8.2.1 P237 代码清单8-10
```py
import random
```

### 第1章Pipenv相关介绍

* 加入使用第三方PyPI源的方法介绍,包括修改Pipfile、通过环境变量设置以及通过命令行选项设置。
Expand Down

0 comments on commit 4a861e0

Please sign in to comment.