远离百度 珍爱生命 百度小半天 谷歌一分钟
这个副标题就是今天的感慨,因为是跨国企业,所以一堆的七七八八的规矩之类的,别听人说外国人自由什么的,都是骗人的。网络问题我被IT的主管训示了半个多小时。之前大学的时候用过国内的网管路由和软件,所以知道大概的路由监听的原理,所以我们的公司用Cisco的路由头我就知道这个网络是被监听的,监听虽然没什么,但是管理的滞后和一些代码证书设备的更新的滞后导致的问题是现在都在ssl中漫游的网站或者工具会被屏蔽在外,因为网络监听相当于建立一个中间人的身份,这样是现在互联网不允许的,如果是tls网络的话,几乎就别想上这个网站了;
话说回来,这次遇到的问题是微信开发者工具上不去了,有几个证书下载的地址被屏蔽了,这个玩蛋的货。提供了一个代理设置。所以考虑建一个代理。
阿里云ECS购置好了之后进行配置,但是这个pip怎么安装都是无法使用。一直报错
No match for argument: python-pip
遇到问题就要百度啊。
然后百度了下,设置了时间是最近一个月,想不通最近一个月的记录也是这么旧的解决方法;
都是包源不对,包被禁用。然后一堆的命令。我就看看然后复制使用。但是都是不行。
然后我悄摸摸的登陆了谷歌,然后看到了一条17年的回复,17年的,都比百度的这个月的新。难以理解。
然后看到了一个46个点赞的回复,和我看到的最近一个月的解决方式一样。然后看到了另外一个8个点赞的回复
这个大神也是遇到了这个问题,然后他去检索了下yum中的包,发现:
- [root@asdasdasdasdsa ~]# yum info python*-pip
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: ftp.rz.uni-frankfurt.de
- * epel: mirrors.mit.edu
- * extras: mirror.23media.de
- * updates: ftp.plusline.de
- Available Packages
- Name : python2-pip
- Arch : noarch
- Version : 8.1.2
- Release : 5.el7
- Size : 1.7 M
- Repo : epel/x86_64
- Summary : A tool for installing and managing Python 2 packages
- URL : http://www.pip-installer.org
- License : MIT
- Description : Pip is a replacement for `easy_install
- : <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
- : same techniques for finding packages, so packages that were made
- : easy_installable should be pip-installable as well.
-
- Name : python34-pip
- Arch : noarch
- Version : 8.1.2
- Release : 5.el7
- Size : 1.7 M
- Repo : epel/x86_64
- Summary : A tool for installing and managing Python3 packages
- URL : http://www.pip-installer.org
- License : MIT
- Description : Pip is a replacement for `easy_install
- : <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
- : same techniques for finding packages, so packages that were made
- : easy_installable should be pip-installable as well.
回复是:
yum install python-pip works the same on RHEL/CentOS v7, because python2-pip provides python-pip (you can check using yum provides python-pip). So I guess you had another issue.
他的回复是你这个命令吧就是装个python2-pip是一样的功能的,自己去看看自己的代码去,我猜你会有另外的问题的
然后我就装了了
python*-pip
这个软件就装上了,谷歌不到一分钟,看文档加上命令也不到5分钟,百度愣是用了我半天时间