Is pip the same for 3.4+

No, it's not. A single pip installation serves a single Python distribution (pip2.7/pip3.4/pip3.5 etc).

Since Python 3.5, pip is already bundled with the python distribution, so you can just run python3.6 -m pip instead of pip.

Python 3.6 is not available in CentOS 7 vanilla repo. I usually resort to IUS repo when needing to install a fresh Python on CentOS. It always has the most recent Python version, the current one being 3.6.5. It also offers a correspondent pip package.

$ yum install https://centos7.iuscommunity.org/ius-release.rpm
$ yum install python36u python36u-devel python36u-pip
Unfortunately, IUS doesn't offer a package for Python 3.7 yet so if you are looking for Python 3.7 on CentOS 7, building from source is your only option.

Edit: when yum is not an option
You should prefer the bootstrapping solution described in this answer as it is the most reliable way to get a working pip installed.

https://stackoverflow.com/a/50410256/8025086

最新文章

  1. Android笔记:异步消息处理
  2. Android手机录制视频 实时传输(转载)
  3. [Node.js] DSL in action
  4. c# winform窗体闪烁解决方法
  5. VS2005 / windows sdk7.1配置
  6. poj 1125 Stockbroker Grapevine (dij优化 0ms)
  7. TCP/IP笔记 二.网络层(1)
  8. linux 内核的spinlock
  9. EGOCache缓存框架具体解说
  10. 跨域下使用获取iframe的父页面URL
  11. (贪心)P1223 排队接水 洛谷
  12. Vue父子组件传值 | 父传子 | 子传父
  13. java 二维数组的行列长度
  14. Scalable MySQL Cluster with Master-Slave Replication, ProxySQL Load Balancing and Orchestrator
  15. 【转】memcached分布式部署
  16. 7.hdfs工作流程及机制
  17. iOS网络基础---iOS-Apple苹果官方文档翻译
  18. 【JavaScript】DAG(有向无环图),以及相关的JS库
  19. BZOJ 2907: 拜访神犇
  20. canvas实现"雷达扫描"效果

热门文章

  1. 『GoLang』语法基础
  2. Phalcon如何切换数据库《Phalcon入坑指南系列 三》
  3. 数据库的规范和SQL优化技巧总结
  4. WPF进阶技巧和实战03-控件(2-特殊容器)
  5. 产生UUID随机字符串工具类
  6. Bloom Filter算法
  7. spark 解决错误java.io.InvalidClassException
  8. Kali安装OWASP
  9. 封装ARX给.Net调用
  10. activemq实现队列的独有消费