今天尝试安装shell下的有道翻译,提示需要安装pip.

[root@mestery ~]# yum install python-pip
[root@mestery ~]# sudo pip install youdao

然而系统提示pip版本过期.

[root@mestery ~]# sudo pip install youdao
----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BZChCY/youdao/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0GPHNf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-BZChCY/youdao/
You are using pip version 8.1.2, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command. 使用提示需要更新:
[root@mestery ~]# yum upgrade pip
You are using pip version 8.1.2, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[root@oldboy ~]# pip install
You must give at least one requirement to install (see "pip help install")
You are using pip version 8.1.2, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command. 更新命令:
[root@mestery ~] python -m pip install --upgrade pip  检查后已经成功:
[root@mestery ~]# pip -V
pip 19.0.3 from /usr/lib/python2.7/site-packages/pip (python 2.7)
...待更 安装提示TLS/SSL错误:
_

root@mestery ~]# sudo pip install youdao
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting youdao
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/youdao/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/youdao/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/youdao/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/youdao/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/youdao/
  Could not fetch URL https://pypi.org/simple/youdao/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/youdao/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
  Could not find a version that satisfies the requirement youdao (from versions: )
No matching distribution found for youdao

最新文章

  1. Qcon会议之所见所想
  2. placeholder不兼容 IE10 以下版本的解决方法
  3. Writing in Science
  4. October 13th 2016 Week 42nd Thursday
  5. stanford Protege 4.3 ERROR: Bundle org.protege.common 解决方法
  6. 致第一次安装RIME的你
  7. [转自Kevins的天空 http://rootsec.cn]rad studio 2007 up3方法
  8. 【解题报告】POJ-1108 Split Windows
  9. windows主线程等待子线程退出卡死问题
  10. RAW碰到的问题与功能的测试
  11. 2015第15周六Java线程池
  12. html中滚动栏的样式
  13. PHP 时间与字符串的相互转化
  14. 像51一样操作STM32的IO(转)
  15. USB设备驱动概述
  16. 新建项目找不到android studio:appcompat v7:27.+包。
  17. penn treebank的说明,包括很多语法知识
  18. HashMap源码之构造函数--JDK1.8
  19. 细说shiro之二:组件架构
  20. Enea推出Linux实时加速方案专门针对Xilinx UltraScale+

热门文章

  1. ActiveMQ(3)---ActiveMQ原理分析之消息持久化
  2. java实现HTTP Basic认证
  3. djiango 虚拟环境与项目创建
  4. React事件处理
  5. MTK6261 11C之Init Analysis【手记】
  6. c++ 使用模板按类型统计stl多维容器中元素的数量
  7. 知识点---<input>、<textarea>
  8. Vue-Router导航守卫:
  9. 开源虚拟化KVM(二)管理虚拟存储
  10. React—Native开发之 Could not connect to development server(Android)解决方法