Python 3的安装与配置

Python软件基金会宣布,到2020年元旦,已经不再为编程语言Python 2.x分支提供任何支持,是时候跟随Python 3的脚步了。

Let's not play games with semantics. The way I see the situation for 2.7 is that EOL is January 1st, 2020, and there will be no updates, not even source-only security patches, after that date. Support (from the core devs, the PSF, and python.org) stops completely on that date. If you want support for 2.7 beyond that day you will have to pay a commercial vendor. Of course it's open source so people are also welcome to fork it. But the core devs have toiled long enough, and the 2020 EOL date (an extension from the originally annouced 2015 EOL!) was announced with sufficient lead time and fanfare that I don't feel bad about stopping to support it at all.

推荐直接上Python科学计算的发行版Anaconda,以下安装配置步骤在WIN10 64位系统上测试没有问题。

  • 下载安装Anaconda
  • 配置环境变量,把\Anaconda\Anaconda\Scripts路径添加到PATH
  • 下载安装OpenSSL

不安装OpenSSL的话,pip就没法用。

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 13,143评论 0 13
  • # Awesome Python [![Awesome](https://cdn.rawgit.com/sindr...
    emily_007阅读 6,595评论 0 3
  • Here is our training plan. Our agenda for this training m...
    FlyingPeter阅读 3,073评论 0 0
  • 一、让人不舒服的聊天 1、毫不关心聊天对象的感受,只关心自己想表达的甚至想宣泄的负面情绪 2、聊对方毫不关心的人、...
    几分几秒阅读 3,902评论 0 1
  • 中午回来,换件衣服,看了会儿视频,然后去听四海关于大数据的公开课。听到了两点五十,感觉收获颇多,挺羡慕那些能提出问...
    窗框阅读 1,807评论 0 1