pip使用技巧】的更多相关文章

指定豆瓣源安装 pip install configparser -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple pip install configparser -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host= pypi.tuna.tsinghua.edu.cn/simple/ 豆瓣:http://pypi.douban.com…
pip 镜像临时使用:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider永久:直接在user目录中创建一个pip目录:C:\Users\xx\pip\pip.ini输入内容[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple[intall]trusted-host = tsinghua.edu.cn 文件夹的存放位置可以在命令行窗口输入set查看:…
1. pip install 'easydict==1.6' --force-reinstall 强制安装制定version 2. pip install git+https://github.com/lanpa/tensorboard-pytorch  …
确保本地开发环境,和线上一致性 1.导出当前解释器的模块pip3 freeze > requirements.txt 2.将这个文件requirements.txt,上传至服务器,在新的虚拟环境中安装pip3 install -r requirements.txt…
pip技巧(linux同样) 某些开发包下载过程中会很慢,会出现timeout的情况,解决办法: 可以配置下镜像,加速下载和安装 1.python的豆瓣源地址(镜像) https://pypi.doubanio.com/simple/ 2格式 pip install -i https://pypi.doubanio.com/simple/  镜像或模块名 例如:…
认识pip 众所周知,pip可以对python的第三方库进行安装.更新.卸载等操作,十分方便. pip的全称:package installer for python,也就是Python包管理工具. 可能有些人用了很久pip,但还不清楚包管理工具是个啥. 我们先从Python这门语言说起,Python之所以受欢迎不光是因为它简单易学,更重要的是它有成千上万的宝藏库. 这些库相当于是已经集成好的工具,只要安装就能在Python里使用.它们可以处理各式各样的问题,无需你再造轮子,而且随着社区的不断更…
=========================  pip 访问非官方pypi源, 以及代理的设置=========================在Windows下安装某些Python的C extension的wheel包时, 有可能报缺C++ compiler, 需要下载 Microsoft Visual C++ Compiler for Python 2.7 下载地址: http://aka.ms/vcpython27 pypi index server 的列表http://www.py…
cryptography这个包,如果源码安装,需要GCC之类的编译,在生产环境不太现实. 所以选择了whl文件安装. 但在官方提供的whl文件里,没有我们熟悉的cp36-cp36m这样的命名文件,肿么找到合适的whl文件呢? =========================分隔线======================== 原来,有些whl的命名包时,采用了python最低版本及abi二进制兼容的风格来命名这些文件. cryptography-2.7-cp34-abi3-manylinux…
jieba库安装失败   pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jieba wordcloud库安装失败 pip install wordcloud -i https://pypi.tuna.tsinghua.edu.cn/simple…
# 工具篇 # pwntools ,gdb-peda ROPgadget-tool . EDB ## pwntools获取.安装和文档帮助 ## - pwntools: github可以搜索到 https://github.com/Gallopsled/pwntools - 安装 pwntools 依赖: (最好先apt-get update下)`$ apt-get install python2.7 python2.7-dev python-pip ` - 安装pwntools `$ pip…