python基础环境搭建
下载python
下载pycharm
pip下载慢
临时配置
pip install fabric2 -i https://pypi.tuna.tsinghua.edu.cn/simple
永久配置
linux环境
~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn
windows环境
~/.pip/pip.ini
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host=pypi.tuna.tsinghua.edu.cn
常用包
fabric2
requests
schedule
nltk(需下载https://github.com/nltk/nltk_data 在将packages目录下的文件内容移动到c://users/user/AppData/Roaming/nltk_data)
查看某个包的详情
pip show nltk
本文来自博客园,作者:梦回大唐meng,转载请注明原文链接:https://www.cnblogs.com/BitX/p/18325571

浙公网安备 33010602011771号