1.python环境配置 - python基础入门
Posted shuopython
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了1.python环境配置 - python基础入门相关的知识,希望对你有一定的参考价值。
工欲善其事必先利其器,python学习首先要做得就是配置python环境。配置环境只需要下载Pycharm 和 Anaconda两个安装包即可,请跟上我得步伐,一步一步操作。
重要的事情说三遍:
先安装anaconda再安装pycharm
先安装anaconda再安装pycharm
先安装anaconda再安装pycharm
一.下载/安装Anaconda(同时支持 Linux,Mac,Windows三大平台,以windows为例)
1.下载地址:https://www.anaconda.com/distribution/#download-section
直接下载3.7版本把,很多小伙伴在刚开始学习的时候很纠结,到底是应该学python2.x版本还是python3.x版本,毕竟2.x 和3.x版本还是有区别。个人建议是直接学习3.x版本,因为2.x版本2020将不再更新,那岂不是又要重头开始学3.x,这有点时间还不如多陪陪你的Gay Friend吧。
请根据自己的windows操作系统下载对应的Anaconda版本,如果操作系统是64位那么请下载:64-bit Graphical Installer;如果操作系统是32位那么请下载:32-bit Graphical Installer即可。可能有小盆友会问 Anaconda 是个啥玩意?直接开通传送门:Anconda 是什么?有什么用?
2.Anconda安装(傻瓜式安装)
由于我的操作系统是win7 – 32位,所以我下载的是32-bit Graphical Installer 。直接双击 32-bit Graphical Installer.exe 启动安装程序
如何证明已经安装成功:直接cmd窗口输入python , 如果出现如下提示表示Anaconda安装成功:
二.下载安装PyCharm(同时支持 Linux,Mac,Windows三大平台,以windows为例)
1.下载Pycharm开发工具,下载地址:https://www.jetbrains.com/pycharm/download/?_ga=2.116564805.2101547578.1567820560-1574792490.1567820560#section=windows
Professional是专业版本,Community 是社区版本,两者有什么区别?Professional比 Community 功能更加强大,所以Professional可以免费试用,要收费。Community是免费使用的。
直接下载Professional专业版本,至于如何激活,文章后面会一步一步讲解
2.安装Pycharm(傻瓜式安装)
3.激活Pycharm(嗯~好像有那么一点难度)
a.激活Pycharm,需要修改系统配置文件 host (注意:hosts 文件没有后缀) ,那么如何找到系统中的host文件:
Windows:C:\Windows\System32\drivers\etc\hosts
Linux:/etc/hosts
Mac:/etc/hosts
为了避免操作失误,首先对hosts文件复制粘贴拷贝一份作为备份。使用任意一款编辑器打开hosts文件,推荐使用Notepad++(这是一款专业的代码编辑器很好用,直接百度搜索下载即可),使用NotePad++打开hosts文件内容如下:
# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a ‘#‘ symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost
在文件的最后插入一行代码:0.0.0.0 account.jetbrains.com (请注意中间的空格,一个字符都不能错,如果怕写错,请对下面代码直接复制粘贴)
0.0.0.0 account.jetbrains.com
修改完hosts文件之后记得保存,让修改生效。可以尝试保存关闭文件后,在使用Notepad++打开hosts文件,检查hosts文件修改是否生效,如果hosts没有修改或者修改的内容有错误会造成Pycharm无法激活,激活的时候会报错:this license **** has been cancelled 。请仔细检查hosts内容修改是否成功。
如果始终提示this license **** has been cancelled 这个错误,直接给你提供一个详细的传送门:关于pycharm安装过程中 hosts 文件的正确配置流程
b.注册Pycharm激活码
注册地址:http://idea.lanyus.com/,这个地址原本可以直接获取到pycharm的注册码。貌似在2019年06.01之前还能用,现在被封杀了,别急着shit!道高一尺,魔高一丈!我这里有一些备用的注册码也可以直接使用(请挤一个比哭还难看的笑给我瞧瞧):
激活码一: MTW881U3Z5-eyJsaWNlbnNlSWQiOiJNVFc4ODFVM1o1IiwibGljZW5zZWVOYW1lIjoiTnNzIEltIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb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有两个Pycharm图标,如果不知道启动哪一个,直接在开始菜单中找到Pycharm运行即可。
一路狂飙 next,来到填写激活码页面,勾选选项如下图所示: Activation code 我直接复制用的上面的 激活码一 ,大家填写激活码的时候直接复制上面任一一个激活码都可以,如果不行就换一个激活码。如果出现报错:this license **** has been cancelled 。请回到步骤1仔细检查自己的hosts文件是否修改成功,99.99%都是hosts文件造成。
到此为止,Anaconda 和Pycharm 我们都已经安装成功了。这文章写的我都快累成狗了,不知道你跟上节奏没有?下一篇详细讲解如何设置模板和创建第一个hello world项目!
猜你喜欢:
1.python,pycharm,anaconda三者的区别与联系
4.pycharm 安装中提示:this license **** has been cancelled
转载请注明:猿说Python » Python环境配置-Pycharm下载/Anaconda安装
以上是关于1.python环境配置 - python基础入门的主要内容,如果未能解决你的问题,请参考以下文章