wordpress弹出搜索,郴州做网站seo,刷神马网站优化排名,天津网络优化招聘目录
一.前言一.找到 hosts 文件二.修改 hosts 文件三.检查 hosts 文件是否修改成功四.pycharm 安装详细教程五.猜你喜欢
一.前言 零基础 Python 学习路线推荐 : Python 学习目录 Python 基础入门 Pycharm 安装过程中#xff0c;提示 this license **** has been c…目录
一.前言一.找到 hosts 文件二.修改 hosts 文件三.检查 hosts 文件是否修改成功四.pycharm 安装详细教程五.猜你喜欢
一.前言 零基础 Python 学习路线推荐 : Python 学习目录 Python 基础入门 Pycharm 安装过程中提示 this license **** has been cancelled 。这个问题并不是你的jihuo码不对而是需要修改系统的 hosts 文件下面详细讲解下如何修改 hosts 文件。
一.找到 hosts 文件
1.找到 hosts 文件所在目录以 windoes 为例其他平台操作类似
WindowsC:\Windows\System32\drivers\etc\hostsLinux/etc/hostsMac/etc/hosts2.hosts 文件并没有后缀直接是没有办法修改的。因为记事本只能打开 txt推荐下载任意一款代码编辑器推荐使用 NotePad使用比较简单并且支持多种语言。
如果担心文件修改出错可以先复制一份作为备份然后用鼠标右键选择 edit with NotePad 或者打开 notepad之后直接把 hosts 文件拖到 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二.修改 hosts 文件
如果想 Pycharm 能正常使用我们需要在 hosts 文件的内容的末尾在添加一行代码0.0.0.0 account.jetbrains.com注意代码中间的空格一个字符都不能错如果担心写错请直接复制下面的代码然后粘贴到文件中修改之后记得保存。
0.0.0.0 account.jetbrains.com三.检查 hosts 文件是否修改成功
很多小伙伴说修改了但是还是报错 this license **** has been cancelled 在步骤完成之后请使用 notepad 重新打开检查 hosts 文件是否最后一行代码添加成功如果没有 this 0.0.0.0 account.jetbrains.com只能说明你没有修改成功。
有时候可能是 C 盘权限问题你可以直接复制一份 hosts 文件到桌面修改好之后再拷贝回去直接覆盖原始的 hosts 文件即可这种方法最简单推荐)
不管是第一次安装还是以后再次出现这种问题你只需要记住this license ** has been cancelled 这个错误 99.99%都跟你的 hosts 文件有关系。**
四.pycharm 安装详细教程
Pycharm 安装详细教程请参考python 开发环境配置
五.猜你喜欢
Python 简介Python Pycharm Anacanda 区别Python2.x 和 Python3.x如何选择Python 配置环境Python Hello World 入门
未经允许不得转载猿说编程 » Pycharm 提示this license **** has been cancelled