下午想要安装 scrapy框架时报错,如图: 网上查了一下:因为网络差导致安装超时,所以用安装时指定源的方法可以解决: pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple 红色的字体表示要安装的模块 ...
分类:
编程语言 时间:
2020-02-10 18:05:25
阅读次数:
69
安装jupyter pip3 install jupyter --default-timeout=1000 -i https://pypi.tuna.tsinghua.edu.cn/simple 使用notebook jupyter notebook ...
分类:
其他好文 时间:
2020-02-10 15:22:10
阅读次数:
65
Python 学习网站 1、菜鸟教程 https://www.runoob.com/python3/python3-tutorial.html 2、Python库 https://pypi.org/ 3、GitHub https://github.com/ 后续持续更新... ...
分类:
编程语言 时间:
2020-02-10 13:26:02
阅读次数:
63
Python 3.7.4安装 1.cmd2.pip3 install selenium --default-timeout=1000 -i https://pypi.tuna.tsinghua.edu.cn/simple 安装selenium 需要依赖 webdriver 安装与浏览器版本匹配的we ...
分类:
其他好文 时间:
2020-02-09 22:02:34
阅读次数:
123
1、思路: yamlapi支持unittest与pytest两种运行模式, yamlapi即为yaml文件+api测试的缩写, 可以看作是一个脚手架工具, 可以快速生成项目的各个目录与文件, 测试人员只需维护一份或者多份yaml文件即可, 不需要大量写代码。 2、安装: https://pypi.o ...
1、手动指定源 pip install XXX -i https://pypi.tuna.tsinghua.edu.cn/simple/ 2、在下载时设置超时时间 pip --default-timeout=100 install -U XXX ...
分类:
其他好文 时间:
2020-02-09 00:25:01
阅读次数:
90
python用pip安装扩展慢的问题可以用清华的源如下: pip install XXX -i https://pypi.tuna.tsinghua.edu.cn/simple 如刚刚安装 imageio-ffmpeg 库,在命令行输入以下指令,效果很好。 pip install imageio-f ...
分类:
编程语言 时间:
2020-02-08 20:50:19
阅读次数:
88
豆瓣源安装第三方库模块 pip install -r ./req.txt moviepy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com ...
分类:
编程语言 时间:
2020-02-08 19:41:27
阅读次数:
93
可以参考Redis live官方文档 http://www.nkrode.com/article/real-time-dashboard-for-redis 1.安装pip wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.t ...
分类:
其他好文 时间:
2020-02-08 14:00:48
阅读次数:
71
背景:想要为下载的anaconda安装tensorflow 使用命令 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow 报错如下: 解决办法:创建一个虚拟虚拟环境,在虚拟环境中安装tensorflow,然后使用pyc ...
分类:
其他好文 时间:
2020-02-07 19:09:58
阅读次数:
87