![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 56
code_____monkey
是一种近几十年来出现的新物种 是工业革命的产物 从劳动性质上称为码农 在物种归类上称为码字猴 程序猿是人类在科技研究上的一种新兴进化 拥有长时间高强度工作的耐力 超越时代的智商 横穿社会的苦逼相和低于人类平均寿命的显著特点 总之程序猿始终是一种非常悲剧的存在
展开
-
httpclient 调用 python 服务 403 重定向到 80
python 服务 url 接口地址 如果无参数 GET 请求 则 url地址必须以 / 结尾,如果不带 / 则请求 返回 404。 如果 GET请求携带参数 则不能携带 / ,如果携带 / 则会重定向到 80 端口 eg1: httpclient get请求 http://127.0.0.1:8001/update/daily_update/ 正确返回 eg2: httpclient get请求 http://127.0.0.1:8001/update/daily_update 返回40...原创 2021-10-13 10:27:48 · 176 阅读 · 0 评论 -
centos7安装python3
Centos7默认安装了python2.7.5 因为一些命令要用它比如yum 它使用的是python2.7.5。 查看一下Python可执行文件的位置: /usr/bin/python 可以看到可执行文件python指向python2,python2又指向python2.7也就是说Python命令执行的系统预装的Python2.7。 1、安装依赖 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-d.原创 2021-02-01 15:37:41 · 273 阅读 · 1 评论 -
python 依赖包离线安装
pip freeze > ./requirements.txt pip download -r requirements.txt -d ./dependency pip install --no-index --find-links=dependency -r requirements.txt ERROR: Could not install packages due to an En...转载 2019-05-27 16:51:23 · 1720 阅读 · 0 评论 -
Scrapy安装问题汇总
一、环境 windows操作系统下,python 版本37 ,python 是32位的 二、按照通常的安装办法 pip install scrapy 报错了,安装Twisted时报错如下: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http...原创 2019-05-28 16:46:54 · 117 阅读 · 0 评论